mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Reference the Figma design on the account provider screen
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ class ConfirmAccountProviderPresenter(
|
|||||||
userInput = event.accountProvider
|
userInput = event.accountProvider
|
||||||
}
|
}
|
||||||
// Validate (and persist) the chosen account provider before proceeding. This also enforces the
|
// Validate (and persist) the chosen account provider before proceeding. This also enforces the
|
||||||
// enterprise account-provider access control, which the login submit does not do on its own.
|
// account-provider access control, which the login submit does not run on its own.
|
||||||
ConfirmAccountProviderEvents.Continue -> changeServerState.eventSink(
|
ConfirmAccountProviderEvents.Continue -> changeServerState.eventSink(
|
||||||
ChangeServerEvents.ChangeServer(AccountProvider(url = accountProviderToSubmit.trim()))
|
ChangeServerEvents.ChangeServer(AccountProvider(url = accountProviderToSubmit.trim()))
|
||||||
)
|
)
|
||||||
|
|||||||
+6
@@ -56,6 +56,12 @@ import io.element.android.libraries.testtags.TestTags
|
|||||||
import io.element.android.libraries.testtags.testTag
|
import io.element.android.libraries.testtags.testTag
|
||||||
import io.element.android.libraries.ui.strings.CommonStrings
|
import io.element.android.libraries.ui.strings.CommonStrings
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Account provider entry screen, shared by sign in and account creation.
|
||||||
|
* Figma (Compound Android Templates):
|
||||||
|
* - Sign in: https://www.figma.com/design/pDlJZGBsri47FNTXMnEdXB/Compound-Android-Templates?node-id=41-10251
|
||||||
|
* - Create account: https://www.figma.com/design/pDlJZGBsri47FNTXMnEdXB/Compound-Android-Templates?node-id=41-10239
|
||||||
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
fun ConfirmAccountProviderView(
|
fun ConfirmAccountProviderView(
|
||||||
state: ConfirmAccountProviderState,
|
state: ConfirmAccountProviderState,
|
||||||
|
|||||||
Reference in New Issue
Block a user