1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

initial commit of ownership banner (#1210)

This commit is contained in:
Vincent Salucci
2021-01-07 11:16:34 -06:00
committed by GitHub
parent edb8dc58f7
commit 3b5cae01e0
4 changed files with 40 additions and 13 deletions

View File

@@ -267,6 +267,7 @@ namespace Bit.App.Pages
public bool ShowCollections => (!EditMode || CloneMode) && Cipher.OrganizationId != null;
public bool EditMode => !string.IsNullOrWhiteSpace(CipherId);
public bool ShowOwnershipOptions => !EditMode || CloneMode;
public bool OwnershipPolicyInEffect => ShowOwnershipOptions && !AllowPersonal;
public bool CloneMode { get; set; }
public ViewPage ViewPage { get; set; }
public bool IsLogin => Cipher?.Type == CipherType.Login;