mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 02:23:57 +00:00
null checking
This commit is contained in:
@@ -440,7 +440,7 @@ namespace Bit.App.Pages
|
||||
EditMode ? AppResources.ItemUpdated : AppResources.NewItemCreated);
|
||||
_messagingService.Send(EditMode ? "editedCipher" : "addedCipher", Cipher.Id);
|
||||
|
||||
if((Page as AddEditPage).FromAutofillFramework)
|
||||
if(Page is AddEditPage page && page.FromAutofillFramework)
|
||||
{
|
||||
// Close and go back to app
|
||||
_deviceActionService.CloseAutofill();
|
||||
|
||||
Reference in New Issue
Block a user