b44cbae131
Fix progress bar not showing on some pages - 2.2 🚀
...
Moving the bar from App.tsx -> AppDrawer.tsx was a mistake,
because then the bar only shows on drawer routes instead of
app-wide.
2023-11-15 14:32:29 +13:00
ba24649a52
Organize imports
2023-11-15 11:21:49 +13:00
6b168cccfe
Rename drawer-param-list -> drawer-params
2023-11-15 11:08:00 +13:00
8ee07823aa
Replace useDark with useTheme - 1.185 🚀
2023-11-14 14:52:35 +13:00
d0f6550f29
Move TimerProgress from App.tsx -> AppDrawer.tsx
...
1. The lower this is in the stack the less re-renders we might cause
2. Now we can hook into useFocusEffect and prevent updates when out of
focus
2023-11-14 13:55:59 +13:00
d8eba22914
Rename Home -> History
...
Although it is very common to have a Home page,
I would rather have every pages name describe
generally what it is.
2023-11-13 18:29:07 +13:00
6950cd04f4
Improve performance of app - 1.182 🚀
...
The App.tsx had a bunch of separate useState calls which would
cause unneccesary re-renders of the entire app. This became
apparent after adding the global progress bar, since it caused
even more re-renders to the point of being unusable.
2023-11-13 17:37:53 +13:00
ec0fdbcec7
Remove logging from AppDrawer & AppStack
2023-11-13 16:07:23 +13:00
e65c053a62
Add setting to choose the startup page
...
Closes #186
2023-11-12 23:27:28 +13:00
ef63fcf470
Organize all imports
2023-11-12 17:05:37 +13:00
8988e584ae
Rename workout -> exercise
...
A workout would typically refer to a list of
exercises.
2023-11-09 18:52:50 +13:00
e8ee4a253e
Migrate from Drawer -> Stacks to Stack -> Drawer
...
This simplifies our codebase greatly by
only having a single stack navigator and
a single drawer navigator. Previously we had
a stack navigator for every main page on the drawer.
2023-10-28 15:59:25 +13:00