diff --git a/app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt b/app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt index b7acee97..a55a832c 100644 --- a/app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt +++ b/app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt @@ -30,6 +30,13 @@ import com.yogeshpaliyal.keypass.ui.redux.actions.NavigationAction import com.yogeshpaliyal.keypass.ui.redux.states.AuthState import org.reduxkotlin.compose.rememberDispatcher +/** + * Displays the authentication screen and manages user input and navigation based on the current authentication state. + * + * Renders the appropriate UI for login, password creation, or password confirmation, handling state transitions, input validation, and navigation actions according to the provided [state]. + * + * @param state The current authentication state determining which UI and logic to display. + */ @Composable fun AuthScreen(state: AuthState) { val userSettings = LocalUserSettings.current