From 8f8a3b6387e9d4ce2bc9d33e94a3e3cc57cc207c Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 19 Oct 2017 13:46:12 -0400 Subject: [PATCH] rename page to addcipher --- src/App/App.csproj | 2 +- .../Vault/{VaultAddLoginPage.cs => VaultAddCipherPage.cs} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/App/Pages/Vault/{VaultAddLoginPage.cs => VaultAddCipherPage.cs} (99%) diff --git a/src/App/App.csproj b/src/App/App.csproj index e83fab4c7..5c3351b5e 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -354,7 +354,7 @@ - + diff --git a/src/App/Pages/Vault/VaultAddLoginPage.cs b/src/App/Pages/Vault/VaultAddCipherPage.cs similarity index 99% rename from src/App/Pages/Vault/VaultAddLoginPage.cs rename to src/App/Pages/Vault/VaultAddCipherPage.cs index 808c849b2..16c6b2d79 100644 --- a/src/App/Pages/Vault/VaultAddLoginPage.cs +++ b/src/App/Pages/Vault/VaultAddCipherPage.cs @@ -15,7 +15,7 @@ using Bit.App.Enums; namespace Bit.App.Pages { - public class VaultAddLoginPage : ExtendedContentPage + public class VaultAddCipherPage : ExtendedContentPage { private const string AddedLoginAlertKey = "addedSiteAlert"; @@ -33,7 +33,7 @@ namespace Bit.App.Pages private readonly bool _fromAutofill; private DateTime? _lastAction; - public VaultAddLoginPage(CipherType type, string defaultUri = null, + public VaultAddCipherPage(CipherType type, string defaultUri = null, string defaultName = null, bool fromAutofill = false) { _type = type; @@ -678,11 +678,11 @@ namespace Bit.App.Pages _userDialogs.Toast(AppResources.NewItemCreated); if(_fromAutofill) { - _googleAnalyticsService.TrackExtensionEvent("CreatedLogin"); + _googleAnalyticsService.TrackExtensionEvent("CreatedCipher"); } else { - _googleAnalyticsService.TrackAppEvent("CreatedLogin"); + _googleAnalyticsService.TrackAppEvent("CreatedCipher"); } await Navigation.PopForDeviceAsync(); }