Updated on 2026-08-14
This commit is contained in:
parent
1e29b39eec
commit
1a2eb895be
1 changed files with 9 additions and 1 deletions
|
|
@ -59,7 +59,11 @@ internal fun DisclaimerScreen(state: DisclaimerUM) {
|
||||||
.background(backgroundColor)
|
.background(backgroundColor)
|
||||||
.statusBarsPadding(),
|
.statusBarsPadding(),
|
||||||
) {
|
) {
|
||||||
Column(modifier = Modifier.padding(bottom = bottomPadding)) {
|
Column(
|
||||||
|
modifier = Modifier
|
||||||
|
.padding(bottom = bottomPadding)
|
||||||
|
.fillMaxSize(),
|
||||||
|
) {
|
||||||
TangemTopAppBar(
|
TangemTopAppBar(
|
||||||
title = resourceReference(R.string.disclaimer_title),
|
title = resourceReference(R.string.disclaimer_title),
|
||||||
startButton = TopAppBarButtonUM(
|
startButton = TopAppBarButtonUM(
|
||||||
|
|
@ -110,6 +114,7 @@ private fun DisclaimerContent(url: String, isTosAccepted: Boolean) {
|
||||||
it.setBackgroundColor(backgroundColor.toArgb())
|
it.setBackgroundColor(backgroundColor.toArgb())
|
||||||
},
|
},
|
||||||
client = remember { DisclaimerWebViewClient() },
|
client = remember { DisclaimerWebViewClient() },
|
||||||
|
modifier = Modifier.fillMaxSize(),
|
||||||
)
|
)
|
||||||
|
|
||||||
AnimatedVisibility(
|
AnimatedVisibility(
|
||||||
|
|
@ -117,6 +122,9 @@ private fun DisclaimerContent(url: String, isTosAccepted: Boolean) {
|
||||||
label = "Loading state change animation",
|
label = "Loading state change animation",
|
||||||
enter = fadeIn(),
|
enter = fadeIn(),
|
||||||
exit = fadeOut(),
|
exit = fadeOut(),
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxSize()
|
||||||
|
.background(backgroundColor),
|
||||||
) {
|
) {
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue