Updated on 2026-08-14
This commit is contained in:
parent
5e8785f5b8
commit
c19963f30d
2 changed files with 16 additions and 8 deletions
|
|
@ -22,7 +22,7 @@ internal class UpdateSaveButtonTransformer(
|
|||
isLoading = isLoading,
|
||||
tangemIconUM = TangemIconUM.Icon(imageVector = Icons.ic_logo_tangem_24).takeIf { isColdWallet },
|
||||
text = if (isNewContact) {
|
||||
resourceReference(R.string.address_book_add_address)
|
||||
resourceReference(R.string.address_book_add_contact)
|
||||
} else {
|
||||
resourceReference(R.string.address_book_save_contact)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ import com.tangem.core.decompose.model.getOrCreateModel
|
|||
import com.tangem.core.decompose.navigation.inner.InnerRouter
|
||||
import com.tangem.core.ui.components.bottomsheets.state.BottomSheetState
|
||||
import com.tangem.core.ui.decompose.ComposableModularBottomSheetContentComponent
|
||||
import com.tangem.core.ui.res.LocalMainBottomSheetColor
|
||||
import com.tangem.core.ui.res.TangemTheme
|
||||
import com.tangem.domain.appcurrency.model.AppCurrency
|
||||
import com.tangem.domain.markets.PreselectedMarketsInterval
|
||||
import com.tangem.domain.markets.PreselectedMarketsOrder
|
||||
|
|
@ -218,6 +220,11 @@ internal class DefaultFeedEntryComponent @AssistedInject constructor(
|
|||
router.pop()
|
||||
}
|
||||
|
||||
val primaryBackground = TangemTheme.colors3.bg.primary
|
||||
CompositionLocalProvider(
|
||||
LocalMainBottomSheetColor provides remember { mutableStateOf(primaryBackground) }
|
||||
.apply { value = primaryBackground },
|
||||
) {
|
||||
EntryContent(
|
||||
bottomSheetState = bottomSheetState,
|
||||
stackState = stack.subscribeAsState(),
|
||||
|
|
@ -226,6 +233,7 @@ internal class DefaultFeedEntryComponent @AssistedInject constructor(
|
|||
isOpenedInBottomSheet = false,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private fun onChildBack() {
|
||||
if (stack.value.active.configuration !is FeedEntryChildFactory.Child.Feed) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue