mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="AutoFillServiceDescription">
|
<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
|
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.
|
the back button twice to return to the main bitwarden app.
|
||||||
</string>
|
</string>
|
||||||
|
|
|
@ -167,18 +167,19 @@ namespace Bit.App.Pages
|
||||||
|
|
||||||
ScrollView = new ScrollView { Content = DisabledStackLayout };
|
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;
|
Title = AppResources.AutofillService;
|
||||||
Content = ScrollView;
|
Content = ScrollView;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnAppearing()
|
private void UpdateEnabled()
|
||||||
{
|
{
|
||||||
base.OnAppearing();
|
|
||||||
ScrollView.Content = _appInfoService.AutofillServiceEnabled ? EnabledStackLayout : DisabledStackLayout;
|
ScrollView.Content = _appInfoService.AutofillServiceEnabled ? EnabledStackLayout : DisabledStackLayout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue