mirror of
https://github.com/bitwarden/android.git
synced 2025-01-12 11:17:30 +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}"
|
Text="{Binding Cipher.Notes}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
<BoxView StyleClass="box-row-separator" IsVisible="{Binding ShowNotesSeparator}" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box">
|
<StackLayout StyleClass="box">
|
||||||
<StackLayout StyleClass="box-row-header">
|
<StackLayout StyleClass="box-row-header">
|
||||||
|
|
|
@ -58,6 +58,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
ToolbarItems.Add(_moreItem);
|
ToolbarItems.Add(_moreItem);
|
||||||
}
|
}
|
||||||
|
_vm.ShowNotesSeparator = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
_typePicker.ItemDisplayBinding = new Binding("Key");
|
_typePicker.ItemDisplayBinding = new Binding("Key");
|
||||||
|
|
|
@ -24,6 +24,7 @@ namespace Bit.App.Pages
|
||||||
private readonly IAuditService _auditService;
|
private readonly IAuditService _auditService;
|
||||||
private readonly IMessagingService _messagingService;
|
private readonly IMessagingService _messagingService;
|
||||||
private CipherView _cipher;
|
private CipherView _cipher;
|
||||||
|
private bool _showNotesSeparator;
|
||||||
private bool _showPassword;
|
private bool _showPassword;
|
||||||
private bool _showCardCode;
|
private bool _showCardCode;
|
||||||
private int _typeSelectedIndex;
|
private int _typeSelectedIndex;
|
||||||
|
@ -224,6 +225,11 @@ namespace Bit.App.Pages
|
||||||
get => _cipher;
|
get => _cipher;
|
||||||
set => SetProperty(ref _cipher, value, additionalPropertyNames: _additionalCipherProperties);
|
set => SetProperty(ref _cipher, value, additionalPropertyNames: _additionalCipherProperties);
|
||||||
}
|
}
|
||||||
|
public bool ShowNotesSeparator
|
||||||
|
{
|
||||||
|
get => _showNotesSeparator;
|
||||||
|
set => SetProperty(ref _showNotesSeparator, value);
|
||||||
|
}
|
||||||
public bool ShowPassword
|
public bool ShowPassword
|
||||||
{
|
{
|
||||||
get => _showPassword;
|
get => _showPassword;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
ApplyToDerivedTypes="True">
|
ApplyToDerivedTypes="True">
|
||||||
<Setter Property="PlaceholderColor"
|
<Setter Property="PlaceholderColor"
|
||||||
Value="{StaticResource InputPlaceholderColor}" />
|
Value="{StaticResource InputPlaceholderColor}" />
|
||||||
|
<Setter Property="Margin"
|
||||||
|
Value="0, 0, 0, 12" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style TargetType="Switch"
|
<Style TargetType="Switch"
|
||||||
ApplyToDerivedTypes="True">
|
ApplyToDerivedTypes="True">
|
||||||
|
|
Loading…
Reference in a new issue