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

return commands for accounts pages

This commit is contained in:
Kyle Spearrin
2019-05-31 12:13:14 -04:00
parent 61be796c76
commit a98283f3ff
12 changed files with 56 additions and 8 deletions

View File

@@ -27,6 +27,7 @@ namespace Bit.App.Pages
PageTitle = AppResources.Bitwarden;
TogglePasswordCommand = new Command(TogglePassword);
ToggleConfirmPasswordCommand = new Command(ToggleConfirmPassword);
SubmitCommand = new Command(async () => await SubmitAsync());
}
public bool ShowPassword
@@ -39,6 +40,7 @@ namespace Bit.App.Pages
});
}
public Command SubmitCommand { get; }
public Command TogglePasswordCommand { get; }
public Command ToggleConfirmPasswordCommand { get; }
public string ShowPasswordIcon => ShowPassword ? "" : "";