Skip to content

Commit 5e3beae

Browse files
committed
Migrate theme-wireframe to KMP (WIP)
1 parent 682c0c7 commit 5e3beae

706 files changed

Lines changed: 513 additions & 409 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/.name

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ firebaseAppDistributionDefault {
119119
dependencies {
120120
implementation(project(":core"))
121121
implementation(project(":foundation"))
122-
implementation(project(":theme-orange"))
123-
implementation(project(":theme-orange-compact"))
124-
implementation(project(":theme-sosh"))
122+
// implementation(project(":theme-orange"))
123+
// implementation(project(":theme-orange-compact"))
124+
// implementation(project(":theme-sosh"))
125125
implementation(project(":theme-wireframe"))
126126

127127
implementation(libs.androidx.activity.compose)
@@ -194,7 +194,7 @@ fun updateBuildConfig() {
194194
gradle.projectsEvaluated {
195195
tasks["preBuild"].apply {
196196
dependsOn(":checkDocumentation")
197-
dependsOn(":checkNotice")
197+
//dependsOn(":checkNotice")
198198
dependsOn(tasks["updateAppChangelog"])
199199
}
200200
updateBuildConfig()

app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
android:roundIcon="@mipmap/ic_launcher_round"
2323
android:supportsRtl="true"
2424
android:theme="@style/Theme.MaterialComponents.NoActionBar">
25-
<provider
26-
android:name="com.orange.ouds.theme.orange.OrangeFontProvider"
27-
android:authorities="com.orange.ouds.theme.orange.fontprovider"
28-
android:exported="false" />
25+
<!-- <provider-->
26+
<!-- android:name="com.orange.ouds.theme.orange.OrangeFontProvider"-->
27+
<!-- android:authorities="com.orange.ouds.theme.orange.fontprovider"-->
28+
<!-- android:exported="false" />-->
2929
<activity
3030
android:name="com.orange.ouds.app.ui.MainActivity"
3131
android:exported="true">

app/src/main/java/com/orange/ouds/app/OudsApplication.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import androidx.compose.runtime.mutableStateOf
1818
import androidx.compose.runtime.setValue
1919
import com.google.firebase.Firebase
2020
import com.google.firebase.crashlytics.crashlytics
21-
import com.orange.ouds.theme.orange.OrangeFontFamily
22-
import com.orange.ouds.theme.orange.OrangeHelveticaNeueArabic
23-
import com.orange.ouds.theme.orange.OrangeHelveticaNeueLatin
21+
//import com.orange.ouds.theme.orange.OrangeFontFamily
22+
//import com.orange.ouds.theme.orange.OrangeHelveticaNeueArabic
23+
//import com.orange.ouds.theme.orange.OrangeHelveticaNeueLatin
2424
import dagger.hilt.android.HiltAndroidApp
2525

2626
@HiltAndroidApp
@@ -39,9 +39,9 @@ class OudsApplication : Application() {
3939
// Thus we use the Android Downloadable Fonts feature to retrieve the files on a remote server.
4040
// However the preferred way of using the Helvetica Neue font in the Orange themes is configuring
4141
// bundled font files with `OrangeHelveticaNeueLatin.Bundled` and/or `OrangeHelveticaNeueArabic.Bundled`.
42-
OrangeFontFamily.preloadDownloadableFontFamilies(this, listOf(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable)) {
43-
areDownloadableOrangeFontFamiliesPreloaded = true
44-
}
42+
// OrangeFontFamily.preloadDownloadableFontFamilies(this, listOf(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable)) {
43+
// areDownloadableOrangeFontFamiliesPreloaded = true
44+
// }
4545
}
4646

4747
private fun initializeCrashlytics() {

app/src/main/java/com/orange/ouds/app/ui/MainScreen.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ import com.orange.ouds.core.theme.OudsTheme
5757
import com.orange.ouds.foundation.RestrictedOudsApi
5858
import com.orange.ouds.foundation.extensions.orElse
5959
import com.orange.ouds.theme.OudsThemeSettings
60-
import com.orange.ouds.theme.orange.ORANGE_THEME_NAME
60+
import com.orange.ouds.theme.wireframe.WIREFRAME_THEME_NAME
61+
//import com.orange.ouds.theme.orange.ORANGE_THEME_NAME
6162
import dev.chrisbanes.haze.HazeStyle
6263
import dev.chrisbanes.haze.hazeEffect
6364
import dev.chrisbanes.haze.hazeSource
@@ -67,7 +68,8 @@ import dev.chrisbanes.haze.rememberHazeState
6768
fun MainScreen(mainViewModel: MainViewModel = hiltViewModel()) {
6869
MainScreen(
6970
themeSettings = mainViewModel.getUserThemeSettings().orElse { OudsThemeSettings() },
70-
currentThemeName = mainViewModel.getUserThemeName().orElse { ORANGE_THEME_NAME },
71+
//currentThemeName = mainViewModel.getUserThemeName().orElse { ORANGE_THEME_NAME },
72+
currentThemeName = mainViewModel.getUserThemeName().orElse { WIREFRAME_THEME_NAME },
7173
onThemeChange = { themeName ->
7274
mainViewModel.storeUserThemeName(themeName)
7375
},
@@ -204,7 +206,7 @@ private fun PreviewMainScreen() = AppPreview {
204206
// See https://issuetracker.google.com/issues/240601093
205207
MainScreen(
206208
themeSettings = OudsThemeSettings(),
207-
currentThemeName = ORANGE_THEME_NAME,
209+
currentThemeName = WIREFRAME_THEME_NAME,//ORANGE_THEME_NAME,
208210
onThemeChange = {},
209211
onThemeSettingsChange = {}
210212
)

app/src/main/java/com/orange/ouds/app/ui/ThemeState.kt

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,28 @@ import androidx.compose.runtime.setValue
2121
import com.orange.ouds.foundation.extensions.orElse
2222
import com.orange.ouds.theme.OudsThemeContract
2323
import com.orange.ouds.theme.OudsThemeSettings
24-
import com.orange.ouds.theme.orange.ORANGE_THEME_NAME
25-
import com.orange.ouds.theme.orange.OrangeFontFamily
26-
import com.orange.ouds.theme.orange.OrangeHelveticaNeueArabic
27-
import com.orange.ouds.theme.orange.OrangeHelveticaNeueLatin
28-
import com.orange.ouds.theme.orange.OrangeTheme
29-
import com.orange.ouds.theme.orangecompact.ORANGE_COMPACT_THEME_NAME
30-
import com.orange.ouds.theme.orangecompact.OrangeCompactTheme
31-
import com.orange.ouds.theme.sosh.SOSH_THEME_NAME
32-
import com.orange.ouds.theme.sosh.SoshTheme
24+
//import com.orange.ouds.theme.orange.ORANGE_THEME_NAME
25+
//import com.orange.ouds.theme.orange.OrangeFontFamily
26+
//import com.orange.ouds.theme.orange.OrangeHelveticaNeueArabic
27+
//import com.orange.ouds.theme.orange.OrangeHelveticaNeueLatin
28+
//import com.orange.ouds.theme.orange.OrangeTheme
29+
//import com.orange.ouds.theme.orangecompact.ORANGE_COMPACT_THEME_NAME
30+
//import com.orange.ouds.theme.orangecompact.OrangeCompactTheme
31+
//import com.orange.ouds.theme.sosh.SOSH_THEME_NAME
32+
//import com.orange.ouds.theme.sosh.SoshTheme
3333
import com.orange.ouds.theme.wireframe.WIREFRAME_THEME_NAME
3434
import com.orange.ouds.theme.wireframe.WireframeTheme
3535

3636
@Composable
3737
fun rememberThemeState(
3838
settings: OudsThemeSettings = OudsThemeSettings(),
3939
themeNames: List<String> = listOf(
40-
ORANGE_THEME_NAME,
41-
ORANGE_COMPACT_THEME_NAME,
42-
SOSH_THEME_NAME,
40+
// ORANGE_THEME_NAME,
41+
// ORANGE_COMPACT_THEME_NAME,
42+
// SOSH_THEME_NAME,
4343
WIREFRAME_THEME_NAME
4444
),
45-
currentThemeName: String = ORANGE_THEME_NAME,
45+
currentThemeName: String = WIREFRAME_THEME_NAME,//ORANGE_THEME_NAME,
4646
areDownloadableOrangeFontFamiliesPreloaded: Boolean = false
4747
) = rememberSaveable(settings, themeNames, currentThemeName, areDownloadableOrangeFontFamiliesPreloaded, saver = ThemeState.Saver) {
4848
ThemeState(settings, themeNames, currentThemeName, areDownloadableOrangeFontFamiliesPreloaded)
@@ -108,29 +108,29 @@ class ThemeState(
108108

109109
private fun getCurrentTheme(name: String): OudsThemeContract {
110110
return themes.firstOrNull { it.name == name }
111-
.orElse { themes.firstOrNull { it.name == ORANGE_THEME_NAME } }
111+
.orElse { themes.firstOrNull { it.name == WIREFRAME_THEME_NAME } }
112112
.orElse { themes.first() }
113113
}
114114

115115
private fun getThemes(settings: OudsThemeSettings, names: List<String>): List<OudsThemeContract> {
116116
return with(settings) {
117117
names.mapNotNull { name ->
118118
when (name) {
119-
ORANGE_THEME_NAME -> OrangeTheme(
120-
orangeFontFamily = OrangeFontFamily(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable),
121-
roundedCornerAlertMessages = roundedCornerAlertMessages.orElse { false },
122-
roundedCornerButtons = roundedCornerButtons.orElse { false },
123-
roundedCornerProgressIndicators = roundedCornerProgressIndicators.orElse { false },
124-
roundedCornerTextInputs = roundedCornerTextInputs.orElse { false }
125-
)
126-
ORANGE_COMPACT_THEME_NAME -> OrangeCompactTheme(
127-
orangeFontFamily = OrangeFontFamily(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable),
128-
roundedCornerAlertMessages = roundedCornerAlertMessages.orElse { false },
129-
roundedCornerButtons = roundedCornerButtons.orElse { false },
130-
roundedCornerProgressIndicators = roundedCornerProgressIndicators.orElse { false },
131-
roundedCornerTextInputs = roundedCornerTextInputs.orElse { false }
132-
)
133-
SOSH_THEME_NAME -> SoshTheme()
119+
// ORANGE_THEME_NAME -> OrangeTheme(
120+
// orangeFontFamily = OrangeFontFamily(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable),
121+
// roundedCornerAlertMessages = roundedCornerAlertMessages.orElse { false },
122+
// roundedCornerButtons = roundedCornerButtons.orElse { false },
123+
// roundedCornerProgressIndicators = roundedCornerProgressIndicators.orElse { false },
124+
// roundedCornerTextInputs = roundedCornerTextInputs.orElse { false }
125+
// )
126+
// ORANGE_COMPACT_THEME_NAME -> OrangeCompactTheme(
127+
// orangeFontFamily = OrangeFontFamily(OrangeHelveticaNeueLatin.Downloadable, OrangeHelveticaNeueArabic.Downloadable),
128+
// roundedCornerAlertMessages = roundedCornerAlertMessages.orElse { false },
129+
// roundedCornerButtons = roundedCornerButtons.orElse { false },
130+
// roundedCornerProgressIndicators = roundedCornerProgressIndicators.orElse { false },
131+
// roundedCornerTextInputs = roundedCornerTextInputs.orElse { false }
132+
// )
133+
// SOSH_THEME_NAME -> SoshTheme()
134134
WIREFRAME_THEME_NAME -> WireframeTheme()
135135
else -> null
136136
}

app/src/main/java/com/orange/ouds/app/ui/utilities/ThemeDrawableResources.kt

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import androidx.annotation.DrawableRes
1616
import androidx.compose.runtime.staticCompositionLocalOf
1717
import com.orange.ouds.app.R
1818
import com.orange.ouds.theme.OudsThemeContract
19-
import com.orange.ouds.theme.orange.OrangeTheme
20-
import com.orange.ouds.theme.orangecompact.OrangeCompactTheme
21-
import com.orange.ouds.theme.sosh.SoshTheme
19+
//import com.orange.ouds.theme.orange.OrangeTheme
20+
//import com.orange.ouds.theme.orangecompact.OrangeCompactTheme
21+
//import com.orange.ouds.theme.sosh.SoshTheme
2222
import com.orange.ouds.theme.wireframe.WireframeTheme
2323
import kotlin.reflect.KProperty1
2424

@@ -29,116 +29,116 @@ class ThemeDrawableResources(val theme: OudsThemeContract) {
2929
val avatar: Int
3030
@DrawableRes
3131
get() = when (theme) {
32-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_avatar
33-
is SoshTheme -> R.drawable.ic_sosh_avatar
32+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_avatar
33+
// is SoshTheme -> R.drawable.ic_sosh_avatar
3434
is WireframeTheme -> R.drawable.ic_wireframe_avatar
3535
else -> error(ThemeDrawableResources::avatar)
3636
}
3737

3838
val call: Int
3939
@DrawableRes
4040
get() = when (theme) {
41-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_call
42-
is SoshTheme -> R.drawable.ic_sosh_call
41+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_call
42+
// is SoshTheme -> R.drawable.ic_sosh_call
4343
is WireframeTheme -> R.drawable.ic_wireframe_call
4444
else -> error(ThemeDrawableResources::call)
4545
}
4646

4747
val filters: Int
4848
@DrawableRes
4949
get() = when (theme) {
50-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_filters
51-
is SoshTheme -> R.drawable.ic_sosh_filters
50+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_filters
51+
// is SoshTheme -> R.drawable.ic_sosh_filters
5252
is WireframeTheme -> R.drawable.ic_wireframe_filters
5353
else -> error(ThemeDrawableResources::filters)
5454
}
5555

5656
val formChevronDown: Int
5757
@DrawableRes
5858
get() = when (theme) {
59-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_form_chevron_down
60-
is SoshTheme -> R.drawable.ic_sosh_form_chevron_down
59+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_form_chevron_down
60+
// is SoshTheme -> R.drawable.ic_sosh_form_chevron_down
6161
is WireframeTheme -> R.drawable.ic_wireframe_form_chevron_down
6262
else -> error(ThemeDrawableResources::formChevronDown)
6363
}
6464

6565
val home: Int
6666
@DrawableRes
6767
get() = when (theme) {
68-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_home
69-
is SoshTheme -> R.drawable.ic_sosh_home
68+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_home
69+
// is SoshTheme -> R.drawable.ic_sosh_home
7070
is WireframeTheme -> R.drawable.ic_wireframe_home
7171
else -> error(ThemeDrawableResources::home)
7272
}
7373

7474
val info: Int
7575
@DrawableRes
7676
get() = when (theme) {
77-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_info
78-
is SoshTheme -> R.drawable.ic_sosh_info
77+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_info
78+
// is SoshTheme -> R.drawable.ic_sosh_info
7979
is WireframeTheme -> R.drawable.ic_wireframe_info
8080
else -> error(ThemeDrawableResources::info)
8181
}
8282

8383
val menuGrid: Int
8484
@DrawableRes
8585
get() = when (theme) {
86-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_menu_grid
87-
is SoshTheme -> R.drawable.ic_sosh_menu_grid
86+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_menu_grid
87+
// is SoshTheme -> R.drawable.ic_sosh_menu_grid
8888
is WireframeTheme -> R.drawable.ic_wireframe_menu_grid
8989
else -> error(ThemeDrawableResources::menuGrid)
9090
}
9191

9292
val notificationAlert: Int
9393
@DrawableRes
9494
get() = when (theme) {
95-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_notification_alert
96-
is SoshTheme -> R.drawable.ic_sosh_notification_alert
95+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_notification_alert
96+
// is SoshTheme -> R.drawable.ic_sosh_notification_alert
9797
is WireframeTheme -> R.drawable.ic_wireframe_notification_alert
9898
else -> error(ThemeDrawableResources::notificationAlert)
9999
}
100100

101101
val palette: Int
102102
@DrawableRes
103103
get() = when (theme) {
104-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_palette
105-
is SoshTheme -> R.drawable.ic_sosh_palette
104+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_palette
105+
// is SoshTheme -> R.drawable.ic_sosh_palette
106106
is WireframeTheme -> R.drawable.ic_wireframe_palette
107107
else -> error(ThemeDrawableResources::palette)
108108
}
109109

110110
val settings: Int
111111
@DrawableRes
112112
get() = when (theme) {
113-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_settings
114-
is SoshTheme -> R.drawable.ic_sosh_settings
113+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_settings
114+
// is SoshTheme -> R.drawable.ic_sosh_settings
115115
is WireframeTheme -> R.drawable.ic_wireframe_settings
116116
else -> error(ThemeDrawableResources::settings)
117117
}
118118

119119
val shop: Int
120120
@DrawableRes
121121
get() = when (theme) {
122-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_shop
123-
is SoshTheme -> R.drawable.ic_sosh_shop
122+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_shop
123+
// is SoshTheme -> R.drawable.ic_sosh_shop
124124
is WireframeTheme -> R.drawable.ic_wireframe_shop
125125
else -> error(ThemeDrawableResources::shop)
126126
}
127127

128128
val smsMessage: Int
129129
@DrawableRes
130130
get() = when (theme) {
131-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_sms_message
132-
is SoshTheme -> R.drawable.ic_sosh_sms_message
131+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_sms_message
132+
// is SoshTheme -> R.drawable.ic_sosh_sms_message
133133
is WireframeTheme -> R.drawable.ic_wireframe_sms_message
134134
else -> error(ThemeDrawableResources::smsMessage)
135135
}
136136

137137
val tipsAndTricks: Int
138138
@DrawableRes
139139
get() = when (theme) {
140-
is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_tips_and_tricks
141-
is SoshTheme -> R.drawable.ic_sosh_tips_and_tricks
140+
// is OrangeTheme, is OrangeCompactTheme -> R.drawable.ic_orange_tips_and_tricks
141+
// is SoshTheme -> R.drawable.ic_sosh_tips_and_tricks
142142
is WireframeTheme -> R.drawable.ic_wireframe_tips_and_tricks
143143
else -> error(ThemeDrawableResources::tipsAndTricks)
144144
}

app/src/main/java/com/orange/ouds/app/ui/utilities/composable/AppPreview.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,18 @@ import com.orange.ouds.app.ui.utilities.LocalThemeDrawableResources
2222
import com.orange.ouds.app.ui.utilities.ThemeDrawableResources
2323
import com.orange.ouds.core.theme.OudsTheme
2424
import com.orange.ouds.foundation.InternalOudsApi
25-
import com.orange.ouds.theme.orange.OrangeTheme
26-
import com.orange.ouds.theme.orange.getPreviewOrangeFontFamily
25+
import com.orange.ouds.theme.wireframe.WireframeTheme
26+
27+
//import com.orange.ouds.theme.orange.OrangeTheme
28+
//import com.orange.ouds.theme.orange.getPreviewOrangeFontFamily
2729

2830
@OptIn(InternalOudsApi::class)
2931
@Composable
3032
fun AppPreview(
3133
modifier: Modifier = Modifier,
3234
content: @Composable () -> Unit
3335
) {
34-
val theme = OrangeTheme(getPreviewOrangeFontFamily())
36+
val theme = WireframeTheme()//OrangeTheme(getPreviewOrangeFontFamily())
3537
CompositionLocalProvider(value = LocalThemeDrawableResources provides ThemeDrawableResources(theme)) {
3638
OudsTheme(
3739
theme = theme,

app/src/main/java/com/orange/ouds/app/ui/utilities/composable/CodeSnippet.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ import androidx.compose.ui.unit.dp
4545
import com.orange.ouds.app.R
4646
import com.orange.ouds.app.ui.utilities.Code
4747
import com.orange.ouds.core.theme.OudsTheme
48-
import com.orange.ouds.theme.orange.OrangeTheme
48+
import com.orange.ouds.theme.wireframe.WireframeTheme
49+
//import com.orange.ouds.theme.orange.OrangeTheme
4950
import kotlinx.coroutines.CoroutineScope
5051
import kotlinx.coroutines.launch
5152

@@ -109,7 +110,7 @@ internal fun PreviewCodeSnippet() = AppPreview {
109110
comment("Apply Orange theme")
110111
functionCall("OudsTheme") {
111112
trailingLambda = true
112-
constructorCallArgument<OrangeTheme>("theme")
113+
constructorCallArgument<WireframeTheme>("theme")
113114
functionCallArgument("darkThemeEnabled", "isSystemInDarkTheme")
114115
lambdaArgument("content") {
115116
comment("Content")

app/src/main/java/com/orange/ouds/app/ui/utilities/composable/CustomizationElements.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ fun CustomizationFilterChips(
128128
} else {
129129
true
130130
}
131-
131+
132132
Row(
133133
modifier = Modifier
134134
.fillMaxWidth()
@@ -202,7 +202,7 @@ fun CustomizationTextInput(
202202
keyboardOptions = keyboardOptions,
203203
trailingIconButton = if (value.text.isNotEmpty()) {
204204
OudsTextInputTrailingIconButton(
205-
painter = painterResource(com.orange.ouds.theme.orange.R.drawable.ic_orange_component_tag_close),
205+
painter = painterResource(R.drawable.ic_copy),
206206
contentDescription = stringResource(R.string.app_components_common_textInputClearIcon_a11y),
207207
onClick = {
208208
onValueChange(value.copy(text = resetValue))

0 commit comments

Comments
 (0)