Code quality.
This commit is contained in:
parent
7e77e6e063
commit
c3a0deb201
3 changed files with 4 additions and 4 deletions
|
|
@ -107,7 +107,7 @@ class RootFlowNode @AssistedInject constructor(
|
|||
onFailure = { switchToNotLoggedInFlow() }
|
||||
)
|
||||
} else {
|
||||
switchToSignedOutFlow(SessionId((navState.loggedInState.sessionId)))
|
||||
switchToSignedOutFlow(SessionId(navState.loggedInState.sessionId))
|
||||
}
|
||||
}
|
||||
LoggedInState.NotLoggedIn -> {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ fun SignedOutView(
|
|||
}
|
||||
|
||||
@Composable
|
||||
fun SignedOutHeader() {
|
||||
private fun SignedOutHeader() {
|
||||
IconTitleSubtitleMolecule(
|
||||
modifier = Modifier.padding(top = 60.dp, bottom = 12.dp),
|
||||
title = "You’re signed out",
|
||||
|
|
@ -144,7 +144,7 @@ private fun SignedOutFooter(
|
|||
|
||||
@PreviewsDayNight
|
||||
@Composable
|
||||
fun SignedOutViewPreview(
|
||||
internal fun SignedOutViewPreview(
|
||||
@PreviewParameter(SignedOutStateProvider::class) state: SignedOutState,
|
||||
) = ElementPreview {
|
||||
SignedOutView(
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||
* Copyright (c) 2023 New Vector Ltd
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue