1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

options expander for send (#1265)

This commit is contained in:
Matt Portune
2021-02-16 15:24:51 -05:00
committed by GitHub
parent 7cf64ff088
commit 233319a0a3
3 changed files with 287 additions and 219 deletions

View File

@@ -22,6 +22,7 @@ namespace Bit.App.Pages
private bool _canAccessPremium;
private SendView _send;
private string _fileName;
private bool _showOptions;
private bool _showPassword;
private int _deletionDateTypeSelectedIndex;
private int _expirationDateTypeSelectedIndex;
@@ -107,6 +108,11 @@ namespace Bit.App.Pages
get => _deletionTime;
set => SetProperty(ref _deletionTime, value);
}
public bool ShowOptions
{
get => _showOptions;
set => SetProperty(ref _showOptions, value);
}
public int ExpirationDateTypeSelectedIndex
{
get => _expirationDateTypeSelectedIndex;
@@ -396,6 +402,11 @@ namespace Bit.App.Pages
TriggerPropertyChanged(nameof(Send), _additionalSendProperties);
}
}
public void ToggleOptions()
{
ShowOptions = !ShowOptions;
}
private void DeletionTypeChanged()
{