minor fix
This commit is contained in:
parent
1b06395e9c
commit
dd1bba1094
|
@ -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",
|
||||||
);
|
);
|
||||||
|
|
|
@ -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",
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue