commit ba59af6dafbe254e1d4e4524ee0800cd58128971
parent aeaef6f440ce5a1fb1533596bde985efed2a50cd
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date: Fri, 5 Jan 2024 01:45:15 +0100
fix(app/social): rule switch text
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/sections/social/ScopeContent.kt b/app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/sections/social/ScopeContent.kt
@@ -88,8 +88,7 @@ class ScopeContent(
text = if (ruleType.listMode && ruleState != null) {
context.translation["rules.properties.${ruleType.key}.options.${ruleState.key}"]
} else context.translation["rules.properties.${ruleType.key}.name"],
- maxLines = 1,
- modifier = Modifier.weight(1f)
+ modifier = Modifier.weight(1f).padding(start = 5.dp, end = 5.dp)
)
Switch(checked = ruleEnabled,
enabled = if (ruleType.listMode) ruleState != null else true,