Commit Graph

529 Commits

Author SHA1 Message Date
Brandon Presley d97cdbfe99 Add plan start screenshot 2022-10-14 18:25:30 +13:00
Brandon Presley e3758e44e7 Delete accidental empty database massive.db 2022-10-14 18:23:56 +13:00
Brandon Presley cd424eba6e Set versionCode=36058 2022-10-14 18:22:08 +13:00
Brandon Presley bca65c90e6 Show dates in set edit screen 2022-10-14 18:20:30 +13:00
Brandon Presley 1d0dd70a49 Set versionCode=36057 2022-10-14 18:13:58 +13:00
Brandon Presley 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
Brandon Presley 46f0875497 Create useSnackbar custom hook 2022-10-14 17:27:19 +13:00
Brandon Presley 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
Brandon Presley d80135d4ed Set versionCode=36056 2022-10-14 17:08:01 +13:00
Brandon Presley 2782d34a05 Use custom theme color for radio buttons 2022-10-14 17:06:23 +13:00
Brandon Presley c4e26e2560 Set versionCode=36055 2022-10-14 17:00:08 +13:00
Brandon Presley 861b5df9f4 Remove extra padding from workouts rest timers
Typically rest timers don't have double digit minutes.
This doesn't prevent that, but will save space 99% of the time,
and in the odd situation where a rest duration is >9 minutes
will be slightly uneven.
2022-10-14 16:57:08 +13:00
Brandon Presley b6665ed4b5 Use radio button for workouts on a plan 2022-10-14 16:55:12 +13:00
Brandon Presley 90f09e3a31 Reduce redundancy of workouts
Repeating the word sets and rest looks a bit
funny. This way leaves a bit to the imagination,
but looks simpler. If a user doesn't understand what
the description is talking about they will probably
just tap the item to read it.
2022-10-14 16:49:34 +13:00
Brandon Presley a65274c2d6 Set versionCode=36054 2022-10-13 16:33:26 +13:00
Brandon Presley 228383ed23 Bottom align save button on set form 2022-10-13 16:32:12 +13:00
Brandon Presley 780500ac75 Set versionCode=36053 2022-10-13 16:31:40 +13:00
Brandon Presley 52f8241054 Prevent flickering of empty lists on slow devices 2022-10-13 16:30:02 +13:00
Brandon Presley e6228b3990 Remove non null assertions in TimerService
This might help fix the error we were seeing on the
play store.
2022-10-13 16:12:49 +13:00
Brandon Presley f41e7b3ffe Set versionCode=36052 2022-10-13 13:35:15 +13:00
Brandon Presley 9dd929b177 Handle missing intent extras in TimerService
This might fix an error I was seeing on production in the Play store.
2022-10-13 13:33:01 +13:00
Brandon Presley 6316e99e6e Set versionCode=36051 2022-10-13 11:27:16 +13:00
Brandon Presley 1a43f41170 Refresh current day for Plans on focus
Closes #85
2022-10-13 11:25:23 +13:00
Brandon Presley 2e1e84ac6f Set versionCode=36050 2022-10-12 17:19:40 +13:00
Brandon Presley ca09613d9b Include set image when adding a set from plan
If a user has set an image for a workout, then adding
a set should include it's image.
2022-10-12 17:17:47 +13:00
Brandon Presley 3b0391310b Visually select first workout in plan by default 2022-10-12 17:17:28 +13:00
Brandon Presley 05a7747f05 Add divider before delete button on plan 2022-10-12 14:53:05 +13:00
Brandon Presley da3dd99bc0 Set versionCode=36049 2022-10-12 14:52:49 +13:00
Brandon Presley 5901722f22 Use flat list instead of chips for workouts 2022-10-12 14:51:30 +13:00
Brandon Presley 636bfa35a4 Remove dates toggle from set item
This feature exists in the settings page,
so duplicating it here might be confusing to users.
2022-10-12 14:10:59 +13:00
Brandon Presley e7438138a6 Set versionCode=36048 2022-10-12 14:09:44 +13:00
Brandon Presley e0b84af9e7 Move sessions page functionality onto Plan page
The sessions page mostly copied the exact same features as Plans,
which would confuse the user.
2022-10-12 14:07:48 +13:00
Brandon Presley 5481e8a20d Fix color for snackbar buttons
The primary color doesn't always work when inverted
from dark to light theme.
2022-10-12 14:07:19 +13:00
Brandon Presley 17b88f39e4 Make chip icons always fitness center 2022-10-05 23:49:08 +13:00
Brandon Presley 3cbabb723a Add sessions page
Related to #82
2022-10-05 23:38:52 +13:00
Brandon Presley 2be2893dc1 Set versionCode=36047 2022-10-05 21:13:13 +13:00
Brandon Presley e501276463 Keep alarm notification on screen
If the user picks up their phone late while the alarm
is going, they might not realise the controls are in
the notification not the app.

Closes #75
2022-10-05 21:11:44 +13:00
Brandon Presley e2c790870b Hide rest settings in workouts when alarms are off
Closes #83
2022-10-04 14:46:15 +13:00
Brandon Presley 73fb90961e Set versionCode=36046 2022-10-04 14:37:44 +13:00
Brandon Presley eb53d58991 Add ability to set app theme
Closes #79
2022-10-04 14:35:56 +13:00
Brandon Presley 3164347158 Set versionCode=36045 2022-10-03 00:56:57 +13:00
Brandon Presley c1f5f62145 Add format to next page 2022-10-03 00:55:36 +13:00
Brandon Presley c65bbf948f Add hh:mm format to date setting 2022-10-02 19:14:10 +13:00
Brandon Presley 4a924df8fb Set versionCode=36044 2022-10-02 19:09:11 +13:00
Brandon Presley 93878f14e4 Fix image on new set prediction 2022-10-02 19:07:52 +13:00
Brandon Presley ba3ed2a272 Revert "Revert "Add setting for showing date by default""
This reverts commit e1b7e80e2f.
2022-10-02 18:07:43 +13:00
Brandon Presley a5c70050a7 Revert "Revert "Add setting for date format""
This reverts commit 3691c729b4.
2022-10-02 18:04:36 +13:00
Brandon Presley 6f41f87dc1 Improve readability of SetForm 2022-10-02 17:59:08 +13:00
Brandon Presley 76a3584dbb Hide workout images based on setting
Closes #80
2022-10-01 16:30:29 +13:00
Brandon Presley 300651f4e9 Set versionCode=36043 2022-10-01 16:03:21 +13:00