minor fix

This commit is contained in:
ashilkn 2022-09-05 17:59:24 +05:30
parent 1b06395e9c
commit dd1bba1094
2 changed files with 7 additions and 4 deletions

View file

@ -143,7 +143,7 @@ class DeleteAccountPage extends StatelessWidget {
DeleteChallengeResponse response, DeleteChallengeResponse response,
) async { ) async {
final hasAuthenticatedOrNoLocalAuth = final hasAuthenticatedOrNoLocalAuth =
await LocalAuthenticationService.instance.requestAuthentication( await LocalAuthenticationService.instance.requestLocalAuthentication(
context, context,
"Please authenticate to initiate account deletion", "Please authenticate to initiate account deletion",
); );

View file

@ -37,7 +37,8 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
behavior: HitTestBehavior.translucent, behavior: HitTestBehavior.translucent,
onTap: () async { onTap: () async {
final hasAuthenticatedOrNoLocalAuth = final hasAuthenticatedOrNoLocalAuth =
await LocalAuthenticationService.instance.requestAuthentication( await LocalAuthenticationService.instance
.requestLocalAuthentication(
context, context,
"Please authenticate to view your recovery key", "Please authenticate to view your recovery key",
); );
@ -70,7 +71,8 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
behavior: HitTestBehavior.translucent, behavior: HitTestBehavior.translucent,
onTap: () async { onTap: () async {
final hasAuthenticatedOrNoLocalAuth = final hasAuthenticatedOrNoLocalAuth =
await LocalAuthenticationService.instance.requestAuthentication( await LocalAuthenticationService.instance
.requestLocalAuthentication(
context, context,
"Please authenticate to change your email", "Please authenticate to change your email",
); );
@ -95,7 +97,8 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
behavior: HitTestBehavior.translucent, behavior: HitTestBehavior.translucent,
onTap: () async { onTap: () async {
final hasAuthenticatedOrNoLocalAuth = final hasAuthenticatedOrNoLocalAuth =
await LocalAuthenticationService.instance.requestAuthentication( await LocalAuthenticationService.instance
.requestLocalAuthentication(
context, context,
"Please authenticate to change your password", "Please authenticate to change your password",
); );