Skip to content

Commit 6bd1164

Browse files
Merge branch 'master' into improveUI
2 parents a183bf0 + 454e419 commit 6bd1164

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ import com.yogeshpaliyal.keypass.ui.redux.actions.NavigationAction
3030
import com.yogeshpaliyal.keypass.ui.redux.states.AuthState
3131
import org.reduxkotlin.compose.rememberDispatcher
3232

33+
/**
34+
* Displays the authentication screen and manages user input and navigation based on the current authentication state.
35+
*
36+
* Renders the appropriate UI for login, password creation, or password confirmation, handling state transitions, input validation, and navigation actions according to the provided [state].
37+
*
38+
* @param state The current authentication state determining which UI and logic to display.
39+
*/
3340
@Composable
3441
fun AuthScreen(state: AuthState) {
3542
val userSettings = LocalUserSettings.current

0 commit comments

Comments
 (0)