Add settings screen
This commit is contained in:
@ -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});
|
||||
|
||||
|
Reference in New Issue
Block a user