mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
fixes for extension add login
This commit is contained in:
parent
3dc705a7a9
commit
73b310d59e
1 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,7 @@ namespace Bit.iOS.Extension
|
|||
Notes = string.IsNullOrWhiteSpace(NotesCell.TextView.Text) ? null : NotesCell.TextView.Text.Encrypt(),
|
||||
Favorite = FavoriteCell.Switch.On,
|
||||
FolderId = FolderCell.SelectedIndex == 0 ? null : _folders.ElementAtOrDefault(FolderCell.SelectedIndex - 1)?.Id,
|
||||
Type = App.Enums.CipherType.Login,
|
||||
Login = new Login
|
||||
{
|
||||
Uri = string.IsNullOrWhiteSpace(UriCell.TextField.Text) ? null : UriCell.TextField.Text.Encrypt(),
|
||||
|
@ -170,6 +171,7 @@ namespace Bit.iOS.Extension
|
|||
PresentViewController(loadingAlert, true, null);
|
||||
await saveTask;
|
||||
|
||||
await loadingAlert.DismissViewControllerAsync(true);
|
||||
if(saveTask.Result.Succeeded)
|
||||
{
|
||||
_googleAnalyticsService.TrackExtensionEvent("CreatedLogin");
|
||||
|
|
Loading…
Reference in a new issue