mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
change method name
This commit is contained in:
parent
6408cffa7e
commit
1b7fe424b5
@ -118,7 +118,7 @@ Widget oathBuildActions(
|
||||
trailing: fipsCapable && !fipsApproved ? alertIcon : null,
|
||||
onTap: (context) {
|
||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
||||
setManagePassword(context, ref, devicePath, oathState);
|
||||
managePassword(context, ref, devicePath, oathState);
|
||||
}),
|
||||
]),
|
||||
],
|
||||
|
@ -210,7 +210,7 @@ class _UnlockedViewState extends ConsumerState<_UnlockedView> {
|
||||
ActionChip(
|
||||
label: Text(l10n.s_set_password),
|
||||
onPressed: () async {
|
||||
await setManagePassword(
|
||||
await managePassword(
|
||||
context, ref, widget.devicePath, widget.oathState);
|
||||
},
|
||||
avatar: const Icon(Symbols.person_add_alt),
|
||||
|
@ -180,7 +180,7 @@ Future<void> addOathAccount(BuildContext context, WidgetRef ref,
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> setManagePassword(BuildContext context, WidgetRef ref,
|
||||
Future<void> managePassword(BuildContext context, WidgetRef ref,
|
||||
DevicePath devicePath, OathState oathState) async {
|
||||
await showBlurDialog(
|
||||
context: context,
|
||||
|
Loading…
Reference in New Issue
Block a user