mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
notes separator for ios
This commit is contained in:
parent
2d41dd6ae0
commit
38f91bce1c
4 changed files with 10 additions and 0 deletions
|
@ -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 a new issue