mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
messages for credential store
This commit is contained in:
@@ -260,6 +260,7 @@ namespace Bit.App.Services
|
||||
|
||||
_googleAnalyticsService.TrackAppEvent("LoggedOut");
|
||||
|
||||
MessagingCenter.Send(Application.Current, "LoggedOut");
|
||||
Device.BeginInvokeOnMainThread(() => Application.Current.MainPage = new ExtendedNavigationPage(new HomePage()));
|
||||
if(!string.IsNullOrWhiteSpace(logoutMessage))
|
||||
{
|
||||
|
||||
@@ -112,8 +112,8 @@ namespace Bit.iOS
|
||||
modal.PresentViewController(activityViewController, true, null);
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(Xamarin.Forms.Application.Current,
|
||||
"ListenYubiKeyOTP", (sender, listen) =>
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(
|
||||
Xamarin.Forms.Application.Current, "ListenYubiKeyOTP", (sender, listen) =>
|
||||
{
|
||||
if(_deviceInfoService.NfcEnabled)
|
||||
{
|
||||
@@ -132,14 +132,14 @@ namespace Bit.iOS
|
||||
UIApplication.SharedApplication.StatusBarHidden = false;
|
||||
UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.LightContent;
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(Xamarin.Forms.Application.Current,
|
||||
"ShowStatusBar", (sender, show) =>
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(
|
||||
Xamarin.Forms.Application.Current, "ShowStatusBar", (sender, show) =>
|
||||
{
|
||||
UIApplication.SharedApplication.SetStatusBarHidden(!show, false);
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(Xamarin.Forms.Application.Current,
|
||||
"FullSyncCompleted", (sender, successfully) =>
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(
|
||||
Xamarin.Forms.Application.Current, "FullSyncCompleted", (sender, successfully) =>
|
||||
{
|
||||
if(successfully)
|
||||
{
|
||||
@@ -147,15 +147,20 @@ namespace Bit.iOS
|
||||
}
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(Xamarin.Forms.Application.Current,
|
||||
"UpsertedCipher", (sender, id) =>
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||
Xamarin.Forms.Application.Current, "UpsertedCipher", (sender, id) =>
|
||||
{
|
||||
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||
Xamarin.Forms.Application.Current, "DeletedCipher", (sender, id) =>
|
||||
{
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(Xamarin.Forms.Application.Current,
|
||||
"DeletedCipher", (sender, id) =>
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application>(
|
||||
Xamarin.Forms.Application.Current, "LoggedOut", (sender) =>
|
||||
{
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user