new icons, remove upload dests

This commit is contained in:
stopflock
2025-09-26 14:31:50 -05:00
parent 99ce659064
commit 175bc8831a
47 changed files with 95 additions and 35 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ class AuthState extends ChangeNotifier {
try {
if (await _auth.isLoggedIn()) {
_username = await _auth.login();
_username = await _auth.restoreLogin();
}
} catch (e) {
print("AuthState: Error during auth initialization: $e");
@@ -44,7 +44,7 @@ class AuthState extends ChangeNotifier {
Future<void> refreshAuthState() async {
try {
if (await _auth.isLoggedIn()) {
_username = await _auth.login();
_username = await _auth.restoreLogin();
} else {
_username = null;
}
@@ -83,7 +83,7 @@ class AuthState extends ChangeNotifier {
if (await _auth.isLoggedIn()) {
final isValid = await validateToken();
if (isValid) {
_username = await _auth.login();
_username = await _auth.restoreLogin();
} else {
await logout(); // This clears _username also.
}