usability fixes

This commit is contained in:
2026-06-25 01:45:23 +02:00
parent 78f64c0af6
commit 3023bc313c
5 changed files with 11 additions and 5 deletions

View File

@@ -48,6 +48,7 @@ class _MoreScreenState extends State<MoreScreen> {
Navigator.of(dialogContext).pop();
_prefs.clear();
authState.refresh();
context.go("/");
},
),
],
@@ -145,4 +146,4 @@ class _NavOptionTile extends StatelessWidget {
onTap: onTap,
);
}
}
}

View File

@@ -33,9 +33,14 @@ class SplashProvider extends ChangeNotifier {
try {
final buildNumber = appBuildNumber;
final response = await _http.getRaw(
'/public/app-version/check/app?currentBuildNumber=$buildNumber',
);
String url;
if (kIsWeb) {
url = '/public/app-version/check/web?currentBuildNumber=$buildNumber';
} else {
url = '/public/app-version/check/app?currentBuildNumber=$buildNumber';
}
final response = await _http.getRaw(url);
if (response.statusCode == 204) {
_status = SplashCheckStatus.noUpdate;