mirror of
https://github.com/gezimos/inkOS.git
synced 2025-12-23 22:17:55 -05:00
UI Cleanup v0.1
Removed header separators in settings
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"java.configuration.updateBuildConfiguration": "interactive"
|
||||
}
|
||||
@@ -145,8 +145,7 @@ class SettingsFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
// (No bottomInsetDp here)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,8 +119,7 @@ class AdvancedFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
if (bottomInsetDp > 0.dp) {
|
||||
Spacer(modifier = Modifier.height(bottomInsetDp))
|
||||
}
|
||||
@@ -196,8 +195,7 @@ class AdvancedFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
if (bottomInsetDp > 0.dp) Spacer(modifier = Modifier.height(bottomInsetDp))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,8 +96,7 @@ class DrawerFragment : Fragment() {
|
||||
pageIndicator = {},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,8 +93,7 @@ class ExtrasFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -168,8 +167,7 @@ class ExtrasFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,8 +112,7 @@ class FeaturesFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -179,8 +178,7 @@ class FeaturesFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,8 +127,7 @@ class FontsFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
if (bottomInsetDp > 0.dp) {
|
||||
Spacer(modifier = Modifier.height(bottomInsetDp))
|
||||
}
|
||||
@@ -210,8 +209,7 @@ class FontsFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,8 +112,7 @@ class GesturesFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
if (bottomInsetDp > 0.dp) {
|
||||
Spacer(modifier = Modifier.height(bottomInsetDp))
|
||||
}
|
||||
@@ -188,8 +187,7 @@ class GesturesFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else TextUnit.Unspecified
|
||||
)
|
||||
SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
|
||||
if (bottomInsetDp > 0.dp) Spacer(modifier = Modifier.height(bottomInsetDp))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,8 +109,6 @@ class NotificationSettingsFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else androidx.compose.ui.unit.TextUnit.Unspecified
|
||||
)
|
||||
SettingsComposable.SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -177,8 +175,6 @@ class NotificationSettingsFragment : Fragment() {
|
||||
},
|
||||
titleFontSize = if (settingsSize > 0) (settingsSize * 1.5).sp else androidx.compose.ui.unit.TextUnit.Unspecified
|
||||
)
|
||||
SettingsComposable.SolidSeparator(isDark = isDark)
|
||||
Spacer(modifier = Modifier.height(SettingsTheme.color.horizontalPadding))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user