Merge branch 'master' into improveUI

This commit is contained in:
Yogesh Choudhary Paliyal
2025-04-26 17:13:44 +05:30
committed by GitHub
@@ -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