about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-08-23 16:16:55 -0700
committerGitHub <noreply@github.com>2023-08-23 16:16:55 -0700
commit32b9648931589311667423ce377ee42a1c78a84f (patch)
tree65652c40c0aa491e0f40b042f543dfba0b7101fb /src
parentb6317d4ce7a6c27787b625fdde6e387e4368d5d6 (diff)
downloadvoidsky-32b9648931589311667423ce377ee42a1c78a84f.tar.zst
Fixes #1252 fix alt text setting description toggle (#1261)
* make toggle border width slightly larger

* change copy
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/forms/ToggleButton.tsx4
-rw-r--r--src/view/screens/Settings.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/util/forms/ToggleButton.tsx b/src/view/com/util/forms/ToggleButton.tsx
index 02be80b31..46ceb8c81 100644
--- a/src/view/com/util/forms/ToggleButton.tsx
+++ b/src/view/com/util/forms/ToggleButton.tsx
@@ -165,8 +165,8 @@ const styles = StyleSheet.create({
     width: 42,
     height: 26,
     borderRadius: 15,
-    padding: 4,
-    borderWidth: 1,
+    padding: 3,
+    borderWidth: 2,
   },
   circleFill: {
     width: 16,
diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx
index 47aa65585..478fcaa09 100644
--- a/src/view/screens/Settings.tsx
+++ b/src/view/screens/Settings.tsx
@@ -344,7 +344,7 @@ export const SettingsScreen = withAuthRequired(
           <View style={[pal.view, styles.toggleCard]}>
             <ToggleButton
               type="default-light"
-              label="Require alt text on images"
+              label="Require alt text before posting"
               labelType="lg"
               isSelected={store.preferences.requireAltTextEnabled}
               onPress={store.preferences.toggleRequireAltTextEnabled}