Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 2FA support dark mode #2699

Merged
merged 3 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ import com.wire.android.R
import com.wire.android.ui.authentication.verificationcode.VerificationCode
import com.wire.android.ui.authentication.verificationcode.VerificationCodeState
import com.wire.android.ui.common.Logo
import com.wire.android.ui.common.colorsScheme
import com.wire.android.ui.common.dimensions
import com.wire.android.ui.common.spacers.VerticalSpace
import com.wire.android.ui.common.textfield.CodeFieldValue
import com.wire.android.ui.common.typography
import com.wire.android.util.ui.PreviewMultipleThemes
import com.wire.android.util.ui.UIText

@Composable
Expand Down Expand Up @@ -111,6 +113,7 @@ private fun MainContent(
) {
Text(
text = UIText.StringResource(R.string.second_factor_authentication_title).asString(),
color = colorsScheme().onBackground,
style = typography().title01,
textAlign = TextAlign.Start
)
Expand All @@ -120,6 +123,7 @@ private fun MainContent(
R.string.second_factor_authentication_instructions_label,
codeState.emailUsed
).asString(),
color = colorsScheme().onBackground,
style = typography().body01,
textAlign = TextAlign.Start
)
Expand All @@ -135,6 +139,7 @@ private fun MainContent(
}

@Preview(showBackground = true)
@PreviewMultipleThemes
@Composable
internal fun LoginEmailVerificationCodeScreenPreview() = LoginEmailVerificationCodeContent(
VerificationCodeState(
Expand Down
Loading