rename page to addcipher

This commit is contained in:
Kyle Spearrin 2017-10-19 13:46:12 -04:00
parent df616cfe3e
commit 8f8a3b6387
2 changed files with 5 additions and 5 deletions

View file

@ -354,7 +354,7 @@
<Compile Include="Models\Page\VaultListPageModel.cs" />
<Compile Include="Pages\LoginPage.cs" />
<Compile Include="Pages\Settings\SettingsAddFolderPage.cs" />
<Compile Include="Pages\Vault\VaultAddLoginPage.cs" />
<Compile Include="Pages\Vault\VaultAddCipherPage.cs" />
<Compile Include="Pages\Vault\VaultViewLoginPage.cs" />
<Compile Include="Pages\Vault\VaultEditLoginPage.cs" />
<Compile Include="Pages\Vault\VaultListCiphersPage.cs" />

View file

@ -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();
}