Add settings screen
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
2025-07-01 22:22:16 +02:00
parent 29fec99b8f
commit 9b14a28d86
6 changed files with 92 additions and 15 deletions

View File

@ -56,12 +56,12 @@ class CurrentAuthState extends _$CurrentAuthState {
/// The possible authentication states of the app.
enum AuthState {
unknown(redirectPath: homePath, allowedPaths: [homePath]),
unknown(redirectPath: homePage, allowedPaths: [homePage]),
unauthenticated(
redirectPath: authPath,
allowedPaths: [authPath, settingsPath],
redirectPath: authPage,
allowedPaths: [authPage, settingsPage],
),
authenticated(redirectPath: homePath, allowedPaths: null);
authenticated(redirectPath: homePage, allowedPaths: null);
const AuthState({required this.redirectPath, required this.allowedPaths});