minor fix
This commit is contained in:
parent
1b06395e9c
commit
dd1bba1094
|
@ -143,7 +143,7 @@ class DeleteAccountPage extends StatelessWidget {
|
|||
DeleteChallengeResponse response,
|
||||
) async {
|
||||
final hasAuthenticatedOrNoLocalAuth =
|
||||
await LocalAuthenticationService.instance.requestAuthentication(
|
||||
await LocalAuthenticationService.instance.requestLocalAuthentication(
|
||||
context,
|
||||
"Please authenticate to initiate account deletion",
|
||||
);
|
||||
|
|
|
@ -37,7 +37,8 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
final hasAuthenticatedOrNoLocalAuth =
|
||||
await LocalAuthenticationService.instance.requestAuthentication(
|
||||
await LocalAuthenticationService.instance
|
||||
.requestLocalAuthentication(
|
||||
context,
|
||||
"Please authenticate to view your recovery key",
|
||||
);
|
||||
|
@ -70,7 +71,8 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
final hasAuthenticatedOrNoLocalAuth =
|
||||
await LocalAuthenticationService.instance.requestAuthentication(
|
||||
await LocalAuthenticationService.instance
|
||||
.requestLocalAuthentication(
|
||||
context,
|
||||
"Please authenticate to change your email",
|
||||
);
|
||||
|
@ -95,7 +97,8 @@ class AccountSectionWidgetState extends State<AccountSectionWidget> {
|
|||
behavior: HitTestBehavior.translucent,
|
||||
onTap: () async {
|
||||
final hasAuthenticatedOrNoLocalAuth =
|
||||
await LocalAuthenticationService.instance.requestAuthentication(
|
||||
await LocalAuthenticationService.instance
|
||||
.requestLocalAuthentication(
|
||||
context,
|
||||
"Please authenticate to change your password",
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue