Switch to using the saved data flag

This commit is contained in:
zontreck 2025-05-25 16:15:11 -07:00
parent cbe676a359
commit c70a6f4f1d
2 changed files with 2 additions and 1 deletions

View file

@ -30,7 +30,7 @@ Future<void> main() async {
SessionData.LastSessionID = sess;
if (SessionData.LastSessionID.isNotEmpty) {
await SessionData.DownloadData();
if (!SessionData.IsReadOnly) {
if (!SessionData.IsSavedData) {
// Invalid session token
SessionData.DisplayError = "The URL and or session token is invalid";
}