Updated on 2026-08-14
This commit is contained in:
parent
d3d8dc8cc0
commit
a886332e4f
2 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ dependencies {
|
|||
implementation(deps.androidx.appCompat)
|
||||
implementation(deps.androidx.fragment.ktx)
|
||||
implementation(deps.lifecycle.viewModel.ktx)
|
||||
implementation(deps.androidx.activity.compose)
|
||||
|
||||
/** Compose */
|
||||
implementation(deps.compose.foundation)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package com.tangem.feature.referral.ui
|
|||
|
||||
import android.content.res.Configuration
|
||||
import android.content.res.Resources
|
||||
import androidx.activity.compose.BackHandler
|
||||
import androidx.annotation.DrawableRes
|
||||
import androidx.compose.foundation.Image
|
||||
import androidx.compose.foundation.background
|
||||
|
|
@ -52,6 +53,8 @@ internal fun ReferralScreen(stateHolder: ReferralStateHolder) {
|
|||
|
||||
val snackbarHostState = remember(::SnackbarHostState)
|
||||
|
||||
BackHandler(onBack = stateHolder.headerState.onBackClicked)
|
||||
|
||||
Scaffold(
|
||||
topBar = {
|
||||
AppBarWithBackButton(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue