Capitalize words
This commit is contained in:
parent
7f1c263720
commit
480baee438
3 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ class _LockScreenState extends State<LockScreen> {
|
|||
_logger.info("Showing lockscreen");
|
||||
try {
|
||||
final result = await requestAuthentication(
|
||||
"please authenticate to view your memories");
|
||||
"Please authenticate to view your memories");
|
||||
if (result) {
|
||||
AppLock.of(context).didUnlock();
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
AppLock.of(context).setEnabled(false);
|
||||
String reason = "please authenticate to view your recovery key";
|
||||
String reason = "Please authenticate to view your recovery key";
|
||||
final result = await requestAuthentication(reason);
|
||||
AppLock.of(context)
|
||||
.setEnabled(Configuration.instance.shouldShowLockScreen());
|
||||
|
@ -86,7 +86,7 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
AppLock.of(context).setEnabled(false);
|
||||
String reason = "please authenticate to change your email";
|
||||
String reason = "Please authenticate to change your email";
|
||||
final result = await requestAuthentication(reason);
|
||||
AppLock.of(context)
|
||||
.setEnabled(Configuration.instance.shouldShowLockScreen());
|
||||
|
@ -111,7 +111,7 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
AppLock.of(context).setEnabled(false);
|
||||
String reason = "please authenticate to change your password";
|
||||
String reason = "Please authenticate to change your password";
|
||||
final result = await requestAuthentication(reason);
|
||||
AppLock.of(context)
|
||||
.setEnabled(Configuration.instance.shouldShowLockScreen());
|
||||
|
|
|
@ -83,7 +83,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
onChanged: (value) async {
|
||||
AppLock.of(context).setEnabled(false);
|
||||
String reason =
|
||||
"please authenticate to configure two-factor authentication";
|
||||
"Please authenticate to configure two-factor authentication";
|
||||
final result = await requestAuthentication(reason);
|
||||
AppLock.of(context).setEnabled(
|
||||
Configuration.instance.shouldShowLockScreen());
|
||||
|
@ -129,7 +129,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
onChanged: (value) async {
|
||||
AppLock.of(context).disable();
|
||||
final result = await requestAuthentication(
|
||||
"please authenticate to change lockscreen setting");
|
||||
"Please authenticate to change lockscreen setting");
|
||||
if (result) {
|
||||
AppLock.of(context).setEnabled(value);
|
||||
_config.setShouldShowLockScreen(value);
|
||||
|
|
Loading…
Add table
Reference in a new issue