Commit Graph

727 Commits

Author SHA1 Message Date
Brandon Presley c51bfbd852 Use date-fns and detect 12/24 hour device setting
Related to #116
2022-11-12 14:38:39 +13:00
Brandon Presley 970cf36c94 Set versionCode=36098 2022-11-10 15:18:05 +13:00
Brandon Presley bfa7518e40 Remove unused variables in StartPlan 2022-11-10 15:16:32 +13:00
Brandon Presley dc73035607 Add progress bar for rest timer in StartPlan 2022-11-10 15:15:27 +13:00
Brandon Presley 60fe324e06 Send 00:00 at end of alarm event 2022-11-10 15:15:14 +13:00
Brandon Presley e6d5e928a9 Use text for progress color on Timer
The progress color needs to be static
because I can't find a combo of background
color to contrast well with all the custom
primary colors.
2022-11-09 13:26:26 +13:00
Brandon Presley 60fd0130b3 Set versionCode=36097 2022-11-09 11:29:09 +13:00
Brandon Presley 0f73fb9d8f Bump react-native to 0.70.5 2022-11-09 11:27:32 +13:00
Brandon Presley 9db4990202 Set versionCode=36096 2022-11-08 16:47:54 +13:00
Brandon Presley 427b80cc52 Use bundle exec on fastlane 2022-11-08 16:46:19 +13:00
Brandon Presley 77f77b0ec4 Update gems 2022-11-08 16:46:13 +13:00
Brandon Presley 1e213b32f8 Set versionCode=36095 2022-11-08 16:35:21 +13:00
Brandon Presley bc4bc44b7d Fix download notifications
I accidentally deleted DownloadModule which
sent a notification of the successful export
of sets/plans
2022-11-08 16:32:57 +13:00
Brandon Presley 04eb738c73 Set versionCode=36094 2022-11-08 16:10:36 +13:00
Brandon Presley 13c1f64398 Change backgroundColor on timer 2022-11-08 15:50:14 +13:00
Brandon Presley bac2e3498f Add back in primary color for timer
The default progress color had weird
looking jagged edges.
2022-11-08 12:58:47 +13:00
Brandon Presley eb23fc2210 Remove primary color from timer progress
Some of these colors provide terrible contrast
so we should just leave it as default. Otherwise
people using certain colors (like light cyan)
can barely see this progress circle at all.
2022-11-08 12:45:40 +13:00
Brandon Presley b68f903a1c Remove custom color calculation from Switch 2022-11-08 12:37:24 +13:00
Brandon Presley 7b403050f3 Set versionCode=36093 2022-11-07 16:38:35 +13:00
Brandon Presley 91b8b2af13 Comment out fastlane deployments for now
Libssl 3 has broken a bunch of ruby stuff
https://github.com/postmodern/ruby-install/issues/412
2022-11-07 16:36:49 +13:00
Brandon Presley 442f1a1d67 Add missing bundle install step to deployment 2022-11-07 15:59:40 +13:00
Brandon Presley 3c17a12f6e Fix settings for adding 1 min to rest timer
Previously when adding one minute to the rest timer from
the notification, settings weren't being used (sound,
vibration).

Closes #113
2022-11-07 15:56:07 +13:00
Brandon Presley f87373479a Attempt to optimize SettingsPage
1. Use FlatList instead of ScrollView
2. Wrap `switches` in a `useMemo` call

I didn't measure it but felt like this sped up
performance slightly. Still might come back to this
page again in the future.

Closes #111
2022-11-07 14:30:25 +13:00
Brandon Presley bb85935e1d Remove custom circle background color on TimerPage
The default color has better contrast than
what I was using before.

Closes #112
2022-11-07 14:14:43 +13:00
Brandon Presley f57de5265d Set versionCode=36092 2022-11-05 17:35:06 +13:00
Brandon Presley ae84228913 Remove showSets setting 2022-11-05 17:31:18 +13:00
Brandon Presley 075d038ccc Set versionCode=36091 2022-11-05 17:24:59 +13:00
Brandon Presley 97442bc292 Fix adding one minute to a complete alarm 2022-11-05 17:22:51 +13:00
Brandon Presley 24e7ee58d9 Set versionCode=36090 2022-11-05 14:53:52 +13:00
Brandon Presley 1e4e66363b Remove unused variables from TimerPage 2022-11-05 14:52:24 +13:00
Brandon Presley 806480532f Add 1 minute to timer from notification 2022-11-05 14:46:42 +13:00
Brandon Presley 86ad6b93d6 Prevent overwriting created when updating a set 2022-11-05 14:41:45 +13:00
Brandon Presley 9c808ce84b Add progress circle to TimerPage 2022-11-05 14:40:06 +13:00
Brandon Presley aaca9240a2 Stop flooding logs in deploy.sh when sourcing rvm
This stuff is just because I don't want to source rvm
in my .bashrc which slows it down significantly.
I guess this stuff would not work so well on other
peoples machines, but i'll worry about that if
anyone other than myself wants to do deployments.
2022-11-05 13:01:38 +13:00
Brandon Presley 568819e85f Set versionCode=36089 2022-11-05 12:59:05 +13:00
Brandon Presley 1e0daeec90 Remove unused variable in TimerPage 2022-11-05 12:57:32 +13:00
Brandon Presley 7b4fddfebf Make text bigger on TimerPage 2022-11-05 12:57:08 +13:00
Brandon Presley 7c9b4bf5f4 Remove unused android code 2022-11-05 12:53:48 +13:00
Brandon Presley 584a505308 Set versionCode=36088 2022-11-04 23:04:58 +13:00
Brandon Presley 5fcd0e39af Use bash for deploy.sh
The rvm script requires it
2022-11-04 23:03:17 +13:00
Brandon Presley 97ade15700 Revert "Add images to fastlane supply in deploy.sh"
This reverts commit f4d70db377.
2022-11-04 23:00:24 +13:00
Brandon Presley f4d70db377 Add images to fastlane supply in deploy.sh 2022-11-04 22:52:18 +13:00
Brandon Presley 03358c203b Copy icon from google play 2022-11-04 22:52:11 +13:00
Brandon Presley 57c71a39e9 Setup fastlane 2022-11-04 20:52:31 +13:00
Brandon Presley 2dfff2c851 Add gemfile + lock 2022-11-04 18:50:52 +13:00
Brandon Presley 1e88a98353 Get color setting when changing system theme 2022-11-04 18:34:41 +13:00
Brandon Presley a2d8f4d8ac Set versionCode=36087 2022-11-04 16:03:23 +13:00
Brandon Presley f9449a9860 Fix default new sets 2022-11-04 16:02:06 +13:00
Brandon Presley ba61e79808 Fix error loading set for adding 2022-11-04 15:51:58 +13:00
Brandon Presley 7760c94626 Organize deploy.sh a bit 2022-11-03 23:39:05 +13:00