Capitalize words

This commit is contained in:
Neeraj Gupta 2022-05-30 10:20:21 +05:30
parent 7f1c263720
commit 480baee438
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1
3 changed files with 6 additions and 6 deletions

View file

@ -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();
}

View file

@ -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());

View file

@ -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);