about summary refs log tree commit diff
path: root/src/components/Lists.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-07-31 10:32:16 -0500
committerGitHub <noreply@github.com>2025-07-31 10:32:16 -0500
commite87555c4816c14752e944092d373ee53bbc05632 (patch)
treea54da285cae588a464d47b22d5f658a0771f8b70 /src/components/Lists.tsx
parent3bcfcba6d8176bac03202b496110915da748b0f1 (diff)
downloadvoidsky-e87555c4816c14752e944092d373ee53bbc05632.tar.zst
[APP-1310] Button cleanup (#8754)
* Rm gradient buttons from Storybook

* TEMP move storybook button section

* Remove gradient_sky

* Remove actual defs for gradient_sky and gradient_primary

* Remove other gradient defs

* Remove gradient support entirely

* Deprecate 'variant' in favor of 'color'

* Fork base styles codepath to make variant deprecation more obvious

* Remove text styles for when no color is set, never been used

* Fork text styles codepath to make variant deprecation more obvious

* Revert temp storybook commit, remove deprecated values

* Replace remaining gradient button usage
Diffstat (limited to 'src/components/Lists.tsx')
-rw-r--r--src/components/Lists.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx
index 5c602249b..311df3bcb 100644
--- a/src/components/Lists.tsx
+++ b/src/components/Lists.tsx
@@ -1,7 +1,8 @@
-import React, {memo} from 'react'
-import {StyleProp, View, ViewStyle} from 'react-native'
+import {memo} from 'react'
+import {type StyleProp, View, type ViewStyle} from 'react-native'
 import {msg, Trans} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
+import type React from 'react'
 
 import {cleanError} from '#/lib/strings/errors'
 import {CenteredView} from '#/view/com/util/Views'
@@ -95,7 +96,7 @@ function ListFooterMaybeError({
           )}
         </Text>
         <Button
-          variant="gradient"
+          variant="solid"
           label={_(msg`Press to retry`)}
           style={[
             a.align_center,