about summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-04 21:22:13 -0700
committerGitHub <noreply@github.com>2024-04-04 21:22:13 -0700
commit9bcb0a7a819eeea819b56e32e17a78278b461cff (patch)
tree8ee004375f9812b6c525876f5702b376cf3eb982 /src/components
parent4e59914d2afeba49ea911e19a610a6be56be6845 (diff)
downloadvoidsky-9bcb0a7a819eeea819b56e32e17a78278b461cff.tar.zst
migrate to `expo-linear-gradient` (#3420)
* replace packages

* rm useless alias from webpack config

* fix accidental double commit

* replace all usages
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Button.tsx2
-rw-r--r--src/components/GradientFill.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index ece1ad6b0..091111fd2 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -11,7 +11,7 @@ import {
   View,
   ViewStyle,
 } from 'react-native'
-import LinearGradient from 'react-native-linear-gradient'
+import LinearGradient from 'expo-linear-gradient'
 import {Trans} from '@lingui/macro'
 
 import {android, atoms as a, flatten, tokens, useTheme} from '#/alf'
diff --git a/src/components/GradientFill.tsx b/src/components/GradientFill.tsx
index dc14aa72b..17a1795f8 100644
--- a/src/components/GradientFill.tsx
+++ b/src/components/GradientFill.tsx
@@ -1,5 +1,5 @@
 import React from 'react'
-import LinearGradient from 'react-native-linear-gradient'
+import LinearGradient from 'expo-linear-gradient'
 
 import {atoms as a, tokens} from '#/alf'