📝 Add docstrings to fixCreatePasswordBug

Docstrings generation was requested by @yogeshpaliyal.

* https://github.com/yogeshpaliyal/KeyPass/pull/1181#issuecomment-2831909826

The following files were modified:

* `app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt`
This commit is contained in:
coderabbitai[bot]
2025-04-26 09:58:21 +00:00
committed by GitHub
parent 321b2f3afe
commit 0e0e35a22d

View File

@@ -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