Skip to content

Commit

Permalink
chore(MyKSuite): Make compose api implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianDevel committed Feb 5, 2025
1 parent 6cc46da commit 8d3467e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MykSuite/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ dependencies {
implementation(core.compose.runtime)
debugImplementation(core.compose.ui.tooling)
implementation(core.compose.material3)
implementation(core.compose.ui)
api(core.compose.ui)
implementation(core.compose.ui.tooling.preview)
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.AbstractComposeView
import com.infomaniak.core.myksuite.ui.components.MyKSuiteChip
import com.infomaniak.core.myksuite.ui.components.MyKSuiteTier
import com.infomaniak.core.myksuite.ui.theme.MyKSuiteTheme

abstract class BaseMyKSuiteChipView @JvmOverloads constructor(
context: Context,
Expand All @@ -33,6 +34,6 @@ abstract class BaseMyKSuiteChipView @JvmOverloads constructor(

@Composable
override fun Content() {
MyKSuiteChip(tier = tier)
MyKSuiteTheme { MyKSuiteChip(tier = tier) }
}
}

0 comments on commit 8d3467e

Please sign in to comment.