Commit Graph

776 Commits

Author SHA1 Message Date
Brandon Presley 5a07aee7f4 Ran prettier on react-native.config.js 2022-11-22 21:38:54 +13:00
Brandon Presley 3930a99cf7 Use document picker types for set form image
This works on both ios and android
2022-11-21 18:52:56 +13:00
Brandon Presley e03101f673 Use document picker images type
This hopefully works on ios as well.
2022-11-21 18:44:12 +13:00
Brandon Presley ef637d3e56 Add larger button margin to save on EditWorkout 2022-11-21 18:37:19 +13:00
Brandon Presley 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
Brandon Presley 71a1e69c7b Merge branch 'master' of gitea.presley.nz:brandon.presley/Massive 2022-11-21 18:15:55 +13:00
Brandon Presley be4098962e Add settings module for android 2022-11-21 18:15:43 +13:00
Brandon Presley 1b9d35d71e Reduce logging of SetList 2022-11-21 18:07:02 +13:00
Brandon Presley 29cbc43534 Use first item for Select.tsx if no value is found 2022-11-21 17:54:45 +13:00
Brandon Presley a001760ab0 Just clear users date setting in update-date migration
This switch is probably missing some old ones,
easier to just wipe it.
2022-11-21 17:53:14 +13:00
Brandon Presley 38332c193c Fix settings page crashing
Select.tsx was crashing if it couldn't
find a label for the selected value.
2022-11-20 21:47:05 +13:00
Brandon Presley 6fb2022e4d Use react-native-paper menus on ViewBest 2022-11-16 18:48:47 +13:00
Brandon Presley 87233f34a8 Hide timer on ios 2022-11-16 18:48:37 +13:00
Brandon Presley c9adaf59ff Remove confusing add workout button from plan 2022-11-16 18:48:16 +13:00
Brandon Presley 008667c3a2 Disable download/upload on ios 2022-11-16 18:48:07 +13:00
Brandon Presley 157a26b843 Remove margin bottom from flatlist on settings 2022-11-16 18:32:59 +13:00
Brandon Presley 6012747643 Merge branch 'master' of gitea.presley.nz:brandon.presley/Massive 2022-11-16 18:30:21 +13:00
Brandon Presley a1b240caae Add margin between settings list and selects 2022-11-16 18:27:58 +13:00
Brandon Presley e6488c38c5 Add missing key to menu item 2022-11-16 18:27:49 +13:00
Brandon Presley 3528ba593f Finish removing react-native-picker-select
Replaced with react-native-paper menus.
2022-11-16 18:17:59 +13:00
Brandon Presley e7e2f299da Start moving select dropdowns to use menus 2022-11-16 18:01:40 +13:00
Brandon Presley 19ec8ac5e9 Fix margins for settings page 2022-11-16 17:10:31 +13:00
Brandon Presley 58ab135b09 Remove default coloring of selects for SettingsPage 2022-11-16 17:07:43 +13:00
Brandon Presley 1d8d7b070e Refresh settings for plan on focus
Closes #118
2022-11-16 17:05:49 +13:00
Brandon Presley 261f1c8bf0 Fix colors of selects in settings 2022-11-16 14:46:45 +13:00
Brandon Presley ae842e0ad7 Fix placeholder for Select 2022-11-16 14:32:47 +13:00
Brandon Presley 16668a80a5 Upgrade react-native-device-time-format to 2.3.0
Downgrading to 2.2.0 fixed ios but broke android.
I'll keep the ios stuff on a separate branch.
2022-11-15 19:56:36 +13:00
Brandon Presley 162d67c351 Start work on pickers that work on android+ios 2022-11-15 19:51:15 +13:00
Brandon Presley f04125efc5 Merge gitea.presley.nz:brandon.presley/Massive 2022-11-15 18:11:45 +13:00
Brandon Presley 9433aed5a2 Get ios running
Still very broken.
Need to fix:
- Notifications
- Remove timer stuff
- Selects
2022-11-15 18:10:48 +13:00
Brandon Presley a4eca33e27 Change ruby version to match what is required in ios 2022-11-15 18:10:30 +13:00
Brandon Presley 2aa8c690f1 Ensure only MaterialIcon fonts are loaded for ios 2022-11-15 18:09:53 +13:00
Brandon Presley 6b7849b414 Downgrade react-native-device-time-format
Version 2.3.0 doesn't autolink in ios.
2022-11-15 18:09:07 +13:00
Brandon Presley f506aa5af7 Set versionCode=36102 2022-11-15 17:43:28 +13:00
Brandon Presley 89edc661a4 Replace addColumn with query in add-color
Fixes #106
2022-11-15 17:36:01 +13:00
Brandon Presley 401ce5d2b8 Disable 24 hour checking and battery for ios 2022-11-14 21:42:37 +13:00
Brandon Presley 8639b53e7f Set versionCode=36101 2022-11-14 14:29:48 +13:00
Brandon Presley 3dea1e952c Fix default date in SettingsPage 2022-11-14 14:27:50 +13:00
Brandon Presley b74f77e506 Replace progress bar with toast in plan
It doesn't feel obvious enough when a new
set has been added with the progress bar +
number incrementing. I frequently found
myself double-checking I had actually submitted
a new set.
2022-11-14 14:19:41 +13:00
Brandon Presley 6b74b5114c Move progress bar to bottom of StartPlan 2022-11-14 11:35:09 +13:00
Brandon Presley 2be1fa8e9f Update timer screenshot
The height wasn't consistent with the other screenshots.
Perhaps I used my Pixel emulator instead of my Nexus 6P
emulator.
2022-11-12 18:23:45 +13:00
Brandon Presley f66c180768 Ensure timers don't run when alarms are disabled 2022-11-12 18:22:58 +13:00
Brandon Presley 3a718142e5 Add progress bar to plan items
Deploy this after using it for a day
(on Sunday NZ time).
2022-11-12 18:19:39 +13:00
Brandon Presley c70e9f5c69 Remove blocking toasts from StartPlan
Some of these weren't extra information
and would happen too often. Toasts should
be rare and informational.
2022-11-12 17:26:38 +13:00
Brandon Presley 79296b6518 Set versionCode=36100 2022-11-12 16:45:39 +13:00
Brandon Presley c31cebb6d3 Fix broken best view page 2022-11-12 16:43:56 +13:00
Brandon Presley 9bfe9737ea Fix lint issues 2022-11-12 16:02:16 +13:00
Brandon Presley 4cc4679dfd Set versionCode=36099 2022-11-12 16:01:55 +13:00
Brandon Presley 730a736585 Fix invalid reference to formatMonth in ViewBest 2022-11-12 15:24:34 +13:00
Brandon Presley c51bfbd852 Use date-fns and detect 12/24 hour device setting
Related to #116
2022-11-12 14:38:39 +13:00