mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
autofill typo and update layout timer
This commit is contained in:
parent
fe1c58ad27
commit
a7cbe526e3
2 changed files with 7 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="AutoFillServiceDescription">
|
||||
The allow bitwarden to auto-fill into other Android apps and on the web through your browser, enable the bitwarden
|
||||
To allow bitwarden to auto-fill into other Android apps and on the web through your browser, enable the bitwarden
|
||||
accessibility service by tapping the toggle switch above, then press OK on the confirmation pop-up. You can then press
|
||||
the back button twice to return to the main bitwarden app.
|
||||
</string>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue