push feature stable

This commit is contained in:
Fabian Freund
2026-07-19 14:25:48 +02:00
parent dc5e9bbd86
commit 36d85f9373
49 changed files with 5473 additions and 673 deletions
@@ -55,9 +55,16 @@ Future<void> handleSwitchProfile(
);
if (shouldSwitch == true) {
await ref
.read(profileRepositoryProvider.notifier)
.switchProfile(profile.id);
try {
await ref
.read(profileRepositoryProvider.notifier)
.switchProfile(profile.id);
} catch (error) {
if (context.mounted) {
ui_helper.showErrorMessage(context, 'Could not switch profile: $error');
}
return;
}
await exitApp(ref.container);
}
}