mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-07 09:20:04 +01:00
notes separator for ios
This commit is contained in:
parent
2d41dd6ae0
commit
38f91bce1c
@ -501,6 +501,7 @@
|
||||
Text="{Binding Cipher.Notes}"
|
||||
StyleClass="box-value" />
|
||||
</StackLayout>
|
||||
<BoxView StyleClass="box-row-separator" IsVisible="{Binding ShowNotesSeparator}" />
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box">
|
||||
<StackLayout StyleClass="box-row-header">
|
||||
|
@ -58,6 +58,7 @@ namespace Bit.App.Pages
|
||||
{
|
||||
ToolbarItems.Add(_moreItem);
|
||||
}
|
||||
_vm.ShowNotesSeparator = true;
|
||||
}
|
||||
|
||||
_typePicker.ItemDisplayBinding = new Binding("Key");
|
||||
|
@ -24,6 +24,7 @@ namespace Bit.App.Pages
|
||||
private readonly IAuditService _auditService;
|
||||
private readonly IMessagingService _messagingService;
|
||||
private CipherView _cipher;
|
||||
private bool _showNotesSeparator;
|
||||
private bool _showPassword;
|
||||
private bool _showCardCode;
|
||||
private int _typeSelectedIndex;
|
||||
@ -224,6 +225,11 @@ namespace Bit.App.Pages
|
||||
get => _cipher;
|
||||
set => SetProperty(ref _cipher, value, additionalPropertyNames: _additionalCipherProperties);
|
||||
}
|
||||
public bool ShowNotesSeparator
|
||||
{
|
||||
get => _showNotesSeparator;
|
||||
set => SetProperty(ref _showNotesSeparator, value);
|
||||
}
|
||||
public bool ShowPassword
|
||||
{
|
||||
get => _showPassword;
|
||||
|
@ -18,6 +18,8 @@
|
||||
ApplyToDerivedTypes="True">
|
||||
<Setter Property="PlaceholderColor"
|
||||
Value="{StaticResource InputPlaceholderColor}" />
|
||||
<Setter Property="Margin"
|
||||
Value="0, 0, 0, 12" />
|
||||
</Style>
|
||||
<Style TargetType="Switch"
|
||||
ApplyToDerivedTypes="True">
|
||||
|
Loading…
Reference in New Issue
Block a user