mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-16 10:35:27 +01:00
PS-70 Added label on top of button to solve UI bug.
This commit is contained in:
parent
9ddbe400f8
commit
6aeec4a89a
@ -192,12 +192,22 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="0" />
|
||||
<Button
|
||||
Text="{Binding SetupTotpText}"
|
||||
IsVisible="{Binding HasTotpValue, Converter={StaticResource inverseBool}}"
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3"
|
||||
Clicked="ScanTotp_Clicked"/>
|
||||
<controls:IconLabel
|
||||
Text="{Binding SetupTotpText}"
|
||||
IsVisible="{Binding HasTotpValue, Converter={StaticResource inverseBool}}"
|
||||
Margin="0,5,0,0"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="FillAndExpand"
|
||||
VerticalTextAlignment="Center"
|
||||
Padding="0"
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="3" />
|
||||
<controls:MonoEntry
|
||||
x:Name="_loginTotpEntry"
|
||||
Text="{Binding Cipher.Login.Totp}"
|
||||
|
@ -864,6 +864,7 @@ namespace Bit.App.Pages
|
||||
await _platformUtilsService.ShowDialogAsync(AppResources.PasswordSafe);
|
||||
}
|
||||
}
|
||||
|
||||
private async void CopyTotpClipboard()
|
||||
{
|
||||
await _clipboardService.CopyTextAsync(_cipher.Login.Totp);
|
||||
|
Loading…
Reference in New Issue
Block a user