From e0a2a5bf491ced017b6f1995deb302ec89643f6d Mon Sep 17 00:00:00 2001 From: Roman Makeev <57789105+makeevrserg@users.noreply.github.com> Date: Mon, 28 Oct 2024 05:01:37 -0700 Subject: [PATCH] Remotes fix beta color (#977) **Background** Current infrared card has grey color of "beta text" **Changes** - Change color of beta text on infrared color **Test plan** - Open tools tab - See green text on beta text card --- CHANGELOG.md | 1 + .../impl/composable/elements/RemoteControlsComposable.kt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f33f2f43d..8cc5396c30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ Attention: don't forget to add the flag for F-Droid before release - [FIX] Remove share from remote controls - [FIX] Remove "RPC" argument from screen streaming request - [FIX] Fix remote-controls duplication ir files +- [FIX] Fix infrared remotes card beta text color - [CI] Fix merge-queue files diff - [CI] Add https://github.com/LionZXY/detekt-decompose-rule - [CI] Enabling detekt module for android and kmp modules diff --git a/components/toolstab/impl/src/main/java/com/flipperdevices/toolstab/impl/composable/elements/RemoteControlsComposable.kt b/components/toolstab/impl/src/main/java/com/flipperdevices/toolstab/impl/composable/elements/RemoteControlsComposable.kt index 10516cdae5..a7d472711f 100644 --- a/components/toolstab/impl/src/main/java/com/flipperdevices/toolstab/impl/composable/elements/RemoteControlsComposable.kt +++ b/components/toolstab/impl/src/main/java/com/flipperdevices/toolstab/impl/composable/elements/RemoteControlsComposable.kt @@ -104,11 +104,11 @@ private fun RemoteControls( Text( text = stringResource(R.string.card_beta), style = LocalTypography.current.subtitleR12, - color = LocalPallet.current.text30, + color = LocalPalletV2.current.action.fwUpdate.background.primary.default, modifier = Modifier .border( 1.dp, - LocalPalletV2.current.action.neutral.border.secondary.default, + LocalPalletV2.current.action.fwUpdate.background.primary.default, RoundedCornerShape(30.dp) ) .clip(RoundedCornerShape(30.dp))