mirror of
https://github.com/bitwarden/mobile
synced 2026-01-01 08:03:37 +00:00
autofill typo and update layout timer
This commit is contained in:
@@ -167,18 +167,19 @@ namespace Bit.App.Pages
|
||||
|
||||
ScrollView = new ScrollView { Content = DisabledStackLayout };
|
||||
|
||||
if(Device.RuntimePlatform == Device.iOS)
|
||||
UpdateEnabled();
|
||||
Device.StartTimer(new TimeSpan(0, 0, 3), () =>
|
||||
{
|
||||
ToolbarItems.Add(new DismissModalToolBarItem(this, AppResources.Close));
|
||||
}
|
||||
UpdateEnabled();
|
||||
return true;
|
||||
});
|
||||
|
||||
Title = AppResources.AutofillService;
|
||||
Content = ScrollView;
|
||||
}
|
||||
|
||||
protected override void OnAppearing()
|
||||
private void UpdateEnabled()
|
||||
{
|
||||
base.OnAppearing();
|
||||
ScrollView.Content = _appInfoService.AutofillServiceEnabled ? EnabledStackLayout : DisabledStackLayout;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user