Fix invalid url or token invalid message

This commit is contained in:
zontreck 2025-05-25 15:14:20 -07:00
parent 5e70507c19
commit 8253e19079
3 changed files with 3 additions and 3 deletions

View file

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