Commit Graph

10 Commits

Author SHA1 Message Date
051df31925 Fix inactive track color on mismatched themes
Before if your system theme was dark and your app
theme was set to light, the track colors were wrong.
2022-12-29 19:30:26 +13:00
48432188c3 Simplify Switch.tsx 2022-12-24 19:55:38 +13:00
ecece9bbcd Add slight margin to switches for ios
I don't know why the android one has margins
without me specifying to do so...
2022-11-21 18:33:05 +13:00
b68f903a1c Remove custom color calculation from Switch 2022-11-08 12:37:24 +13:00
1a53fa324b Remove redundant Color context
Settings already stores the color set by the user.
2022-10-31 21:32:33 +13:00
bc7aca03e8 Remove semicolons from line endings 2022-10-31 17:22:08 +13:00
e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
8461f86e88 Wrap color context with useColor custom hook
I find it easier to import hooks by useX instead of
useContext(X). Like how the navigation library is just
useNavigation
2022-10-14 17:24:02 +13:00
eb53d58991 Add ability to set app theme
Closes #79
2022-10-04 14:35:56 +13:00
91c0430760 Factor out massive switch 2022-09-26 16:10:13 +13:00