Fix settings update
This commit is contained in:
parent
53abda7755
commit
e508f50054
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ class _MainScreenState extends State<MainScreen> {
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
if (await PasswordService.authenticate(context) && mounted) {
|
if (await PasswordService.authenticate(context) && mounted) {
|
||||||
await Navigator.push(context, MaterialPageRoute(builder: (_) => const SettingsScreen()));
|
await Navigator.push(context, MaterialPageRoute(builder: (_) => const SettingsScreen()));
|
||||||
|
setState(() {});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Text(AppLocalizations.of(context)!.settingsButton),
|
child: Text(AppLocalizations.of(context)!.settingsButton),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue