change method name

This commit is contained in:
Adam Velebil 2024-08-26 08:20:04 +02:00
parent 6408cffa7e
commit 1b7fe424b5
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -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,