Updated on 2026-08-14
This commit is contained in:
parent
fcd85fba97
commit
2d3e5fdb7a
5 changed files with 78 additions and 3 deletions
|
|
@ -8,10 +8,12 @@ import androidx.compose.material3.Text
|
|||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.platform.testTag
|
||||
import androidx.compose.ui.unit.dp
|
||||
import com.tangem.core.ui.extensions.TextReference
|
||||
import com.tangem.core.ui.extensions.resolveAnnotatedReference
|
||||
import com.tangem.core.ui.res.TangemTheme
|
||||
import com.tangem.core.ui.test.FooterTestTags
|
||||
|
||||
/**
|
||||
* Container for footer info below the text field
|
||||
|
|
@ -37,7 +39,8 @@ fun FooterContainer(
|
|||
style = TangemTheme.typography.caption2,
|
||||
color = TangemTheme.colors.text.tertiary,
|
||||
modifier = Modifier
|
||||
.padding(paddingValues),
|
||||
.padding(paddingValues)
|
||||
.testTag(FooterTestTags.FOOTER_TEXT),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
package com.tangem.core.ui.test
|
||||
|
||||
object FooterTestTags {
|
||||
const val FOOTER_TEXT = "FOOTER_TEXT"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue