Skip to content

Commit bbf5666

Browse files
authored
Enable strong skipping. (#925)
1 parent 9352b93 commit bbf5666

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ android {
6666
namespace 'com.dessalines.thumbkey'
6767
}
6868

69+
composeCompiler {
70+
enableStrongSkippingMode = true
71+
}
72+
6973
dependencies {
7074
// Compose BOM
7175
implementation platform('androidx.compose:compose-bom:2024.05.00')

app/src/main/java/com/dessalines/thumbkey/ui/components/settings/lookandfeel/LookAndFeelActivity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fun LookAndFeelActivity(
9292
var keyWidthSliderState by remember { mutableStateOf(keyWidthState) }
9393

9494
// Need to coerce key width = null to be the same size as the keyHeight
95-
val nonSquareKeysState = remember { mutableStateOf(settings?.keySize !== (settings?.keyWidth ?: settings?.keySize)) }
95+
val nonSquareKeysState = remember { mutableStateOf(settings?.keySize != (settings?.keyWidth ?: settings?.keySize)) }
9696

9797
var pushupSizeState = (settings?.pushupSize ?: DEFAULT_PUSHUP_SIZE).toFloat()
9898
var pushupSizeSliderState by remember { mutableFloatStateOf(pushupSizeState) }

0 commit comments

Comments
 (0)