mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-25 16:47:55 +01:00
tweaks to accessibility changes
This commit is contained in:
parent
9f06c9a051
commit
eb16025800
@ -56,7 +56,7 @@
|
||||
<StackLayout IsVisible="{Binding Enabled, Converter={StaticResource inverseBool}}"
|
||||
VerticalOptions="CenterAndExpand"
|
||||
HorizontalOptions="Center"
|
||||
Spacing="20">
|
||||
Spacing="10">
|
||||
<Image Source="accessibility_step1.png"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="300"
|
||||
@ -67,7 +67,7 @@
|
||||
StyleClass="text-sm" />
|
||||
<Image Source="accessibility_step2.png"
|
||||
HorizontalOptions="Center"
|
||||
Margin="0, 20, 0, 0"
|
||||
Margin="0, 10, 0, 0"
|
||||
WidthRequest="300"
|
||||
HeightRequest="67" />
|
||||
<Label Text="{u:I18n BitwardenAutofillServiceStep2}"
|
||||
@ -78,7 +78,7 @@
|
||||
<StackLayout IsVisible="{Binding EnabledWithoutPermission}"
|
||||
VerticalOptions="CenterAndExpand"
|
||||
HorizontalOptions="Center"
|
||||
Spacing="20">
|
||||
Spacing="10">
|
||||
<Image Source="accessibility_permission.png"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="300"
|
||||
@ -91,7 +91,7 @@
|
||||
<StackLayout IsVisible="{Binding EnabledAndPermitted}"
|
||||
VerticalOptions="CenterAndExpand"
|
||||
HorizontalOptions="Center"
|
||||
Spacing="20">
|
||||
Spacing="10">
|
||||
<Image Source="accessibility_overlay.png"
|
||||
HorizontalOptions="Center"
|
||||
WidthRequest="300"
|
||||
@ -101,14 +101,16 @@
|
||||
LineBreakMode="WordWrap"
|
||||
StyleClass="text-sm" />
|
||||
</StackLayout>
|
||||
<Button Text="{u:I18n BitwardenAutofillServiceOpenAccessibilitySettings}"
|
||||
<StackLayout Spacing="10">
|
||||
<Button Text="{u:I18n BitwardenAutofillServiceOpenAccessibilitySettings}"
|
||||
Clicked="Settings_Clicked"
|
||||
HorizontalOptions="Fill"
|
||||
VerticalOptions="End"></Button>
|
||||
<Button Text="{u:I18n BitwardenAutofillServiceOpenOverlayPermissionSettings}"
|
||||
<Button Text="{u:I18n BitwardenAutofillServiceOpenOverlayPermissionSettings}"
|
||||
Clicked="OverlayPermissionSettings_Clicked"
|
||||
HorizontalOptions="Fill"
|
||||
VerticalOptions="End"></Button>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
@ -39,9 +39,9 @@ namespace Bit.App.Pages
|
||||
});
|
||||
}
|
||||
|
||||
public bool EnabledWithoutPermission => _enabled && !_permitted;
|
||||
public bool EnabledWithoutPermission => Enabled && !Permitted;
|
||||
|
||||
public bool EnabledAndPermitted => _enabled && _permitted;
|
||||
public bool EnabledAndPermitted => Enabled && Permitted;
|
||||
|
||||
public void OpenSettings()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user