mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-29 04:07:37 +02:00
notes separator for ios
This commit is contained in:
parent
2d41dd6ae0
commit
38f91bce1c
@ -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 New Issue
Block a user