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

Added disabled icon and make File default type for new Sends if premium (#1261)

* Added disabled icon and make File default type for new Sends if premium

* forgot to expand colspan for extra icon
This commit is contained in:
Matt Portune
2021-02-11 16:27:22 -05:00
committed by GitHub
parent 2602a09443
commit 5e70d03dbe
3 changed files with 26 additions and 13 deletions

View File

@@ -195,9 +195,10 @@ namespace Bit.App.Pages
}
else
{
var defaultType = _canAccessPremium ? SendType.File : SendType.Text;
Send = new SendView
{
Type = Type.GetValueOrDefault(SendType.Text),
Type = Type.GetValueOrDefault(defaultType),
DeletionDate = DateTime.Now.AddDays(7),
};
DeletionDateTypeSelectedIndex = 4;