update in user changer

This commit is contained in:
Kima
2024-02-06 22:02:16 +01:00
parent a0975d635d
commit a93f1c2422
2 changed files with 25 additions and 15 deletions

View File

@@ -367,7 +367,11 @@ class SettingsScreenState extends State<SettingsScreen>
// onPressed: () => SoonAlert.show(context: context),
onPressed: () {
SettingsHelper.changeCurrentUser(
context, accountTiles, (accountTiles.length + 2));
context,
accountTiles,
(accountTiles.length + 2),
"add_user".i18n,
);
},
title: Text("switch_account".i18n),
leading: Icon(