Commit Graph

26 Commits

Author SHA1 Message Date
463852e6a6 Prevent double searching everywhere
Also change variable names. Search should represent the
act of searching, rather than the value being typed by the user.
2022-10-28 18:59:54 +13:00
e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
80b1a1ef56 Fix single views for new custom headers 2022-10-23 19:13:58 +13:00
36e6637ba2 Revert "Revert "Add custom app bar""
This reverts commit e84dd7bdea.
2022-10-23 12:35:58 +13:00
e84dd7bdea Revert "Add custom app bar"
This reverts commit a664b65ce2.
2022-10-23 12:32:44 +13:00
a664b65ce2 Add custom app bar
The header bar provided by react-navigation was jumping on first
load, whereas this custom one doesn't.
2022-10-23 12:24:39 +13:00
9bd8fa9353 Replace height percent setting with flex: 1
This way reacts better to changing the screen sizes.
I think there was one bug where the fab wouldn't be
precisely at the bottom of the page depending on the
flat list length.
2022-10-14 18:12:21 +13:00
52f8241054 Prevent flickering of empty lists on slow devices 2022-10-13 16:30:02 +13:00
b0b804eae1 Use react context for settings
Closes #81
2022-10-01 16:01:07 +13:00
0bc644a1ba Add setting to show/hide unit field
Closes #34
2022-09-21 13:51:29 +12:00
1bd05e1c20 Add padding to bottom of list pages 2022-09-20 16:17:01 +12:00
b223a4095c Show images on Best list and Workout list
Closes #19
2022-09-18 18:30:37 +12:00
cb446be7b0 Add steps to workouts
Closes #15
2022-09-18 18:08:09 +12:00
052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +12:00
e3b3c6ca09 Split out database logic into service files 2022-09-04 16:56:46 +12:00
76e0ea49b4 Fix showing best records 2022-09-04 16:35:40 +12:00
e483187338 Remove all loading logic
SQLite is so fast the spinners only mislead the user into thinking
these operations take long. They are practically instant.
2022-09-04 16:30:02 +12:00
259d36d67f Move all database operations into db.ts 2022-09-04 15:28:21 +12:00
607f83955d Replace react context with let statement in db.ts
1. I can't easily import context with my editor.
2. It's extra complexity everyone has to understand.
3. I hate the antichrist.
2022-09-04 14:05:25 +12:00
9006cc0dea Add script to organize all imports 2022-09-02 12:33:53 +12:00
756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
721a1435a5 Remove redundant import from BestList 2022-08-26 15:12:27 +12:00
23d8c91c69 Add workouts page
The workouts page can be used to add a new type of workout,
or to edit the name of an already existing one.
Closes #1.
2022-08-26 15:10:28 +12:00
32be938c86 Hide top drawer menu on EditPlan 2022-08-25 13:06:50 +12:00
33558ad17e Update BestList empty list description 2022-07-26 11:45:24 +12:00
ad907a83c3 Use stack navigation for Best 2022-07-11 13:00:17 +12:00