Commit Graph

195 Commits

Author SHA1 Message Date
Alinson S. Xavier
f15c660d33
Merge branch 'master' into dev 2021-08-21 07:40:28 -05:00
Alinson S. Xavier
2a5725f382
Small tweaks to CheckmarkWidget padding and aspect ratio 2021-08-21 06:17:13 -05:00
Quentin Hibon
f8c7abfff4 Use 'entered' instead of 'completed' when ? or skips are enabled 2021-08-06 06:14:16 -05:00
Quentin Hibon
b9eb244b0b Introduce HabitType and NumericalHabitType enums 2021-08-06 05:48:15 -05:00
Quentin Hibon
91ff5f7a0c Use empty array instead of sentinel value -1 as habitId 2021-08-03 08:38:07 +02:00
Quentin Hibon
67b55a4ecf Fix off-by-one bug in StackWidgetService 2021-08-03 08:38:07 +02:00
Quentin Hibon
a5ae2eaa63 Improve one 'when' 2021-08-03 08:37:44 +02:00
Quentin Hibon
0bc2a8b6d4 Handle target widget type in stacked widget
Fixes #965.
2021-08-03 08:28:29 +02:00
Alinson S. Xavier
705dfb9cbd
Bitmap.createBitmap: Ensure width, height > 0
Fixes #966
2021-07-31 15:46:17 -05:00
Alinson S. Xavier
d0ef749f19
StackWidget: Raise exception instead of returning invalid default value 2021-07-31 15:07:43 -05:00
Alinson S. Xavier
b54711243f
Remove color.toThemedAndroidColor
Fixes #907
2021-07-31 14:18:50 -05:00
Alinson S. Xavier
37f03aca37
Merge branch 'hotfix/2.0.3' into dev 2021-07-31 12:49:01 -05:00
Quentin Hibon
271de59a94
Use notification timestamp when pressing "no"
Fixes #969.
2021-07-31 12:47:09 -05:00
Quentin Hibon
64966d3c86 Bumps org.jlleitschuh.gradle.ktlint from 10.0.0 to 10.1.0 2021-06-09 12:06:35 +02:00
Alinson S. Xavier
be51538704
Avoid calling textPaint.getTextBounds repeatedly
This operation seems to be very expensive on some Samsung phones,
which causes ANRs.

Fixes #962
2021-06-05 18:19:03 -05:00
Alinson S. Xavier
89b24911ba
Fix imports 2021-06-05 18:18:25 -05:00
Alinson S. Xavier
1cf71b3973
Use dark theme in HabitPickerDialog.kt
Fixes #916
2021-06-05 17:26:55 -05:00
Alinson S. Xavier
2fe3b15806
Fix small issues with the pure black theme 2021-06-05 17:17:27 -05:00
Alinson S. Xavier
33468bfc1c
Improve automatic checkmarks for monthly habits
Fixes #947
2021-06-05 16:54:13 -05:00
Alinson S. Xavier
88f8581acc
Make CheckmarkWidget resizable; remove fixed aspect ratio 2021-05-23 11:49:49 -05:00
Alinson S. Xavier
b33dd2a994
Ensure RingView.diameter is never zero
In rare cases, it seems either that `onDraw` is called before `onMeasure` or
that `onMeasure` is called with a view that has zero height/width. This causes
`reallocateCache` to produce an IllegalArgumentException. This patch ensures
that diameter is never zero.

Fixes #904
2021-05-23 11:21:49 -05:00
Alinson S. Xavier
38d2606d6d
Fix IllegalStateException in androidx.customview.view
Fixes #906
2021-05-22 12:53:03 -05:00
Alinson S. Xavier
c973f93424
Fix small issues with font size 2021-05-15 20:22:42 -05:00
Alinson S. Xavier
fcadbe7c38
Handle numerical habits with target value of zero
Fixes #903
2021-05-15 20:11:20 -05:00
Alinson S. Xavier
dd1999681f
Small adjustments to numeric checkmark widget 2021-05-09 16:24:59 -05:00
Alinson S. Xavier
2728c311d8
Large tests: Make compatible with API 27 2021-04-25 19:45:02 -05:00
Alinson S. Xavier
98ce802f87
Remove useless statement 2021-04-22 23:11:41 -05:00
Alinson S. Xavier
853b4275be
Parse translators from Crowdin report; group by language
Fixes #669
2021-04-22 23:06:35 -05:00
Alinson S. Xavier
df4355c072
Switch to androidx.preference.PreferenceManger 2021-04-18 22:17:25 -05:00
Alinson S. Xavier
33c3feb11a
Make FrequencyPickerDialog translatable 2021-04-18 10:34:35 -05:00
Alinson S. Xavier
8d87988871
Add arrows to sort menu 2021-04-18 09:02:40 -05:00
Alinson S. Xavier
b0c5552cfa
Remove unused imports 2021-04-17 22:01:17 -05:00
Alinson S. Xavier
616ab4861d
CheckmarkWidget: Always show circle
Fixes #790
2021-04-17 21:56:50 -05:00
Alinson S. Xavier
fcff067b2e
DatePicker: Implement dark theme
Fixes #858
2021-04-17 21:52:00 -05:00
Alinson S. Xavier
da018fc64d
Temporarily remove device sync 2021-04-17 19:53:24 -05:00
Alinson S. Xavier
071b6bd090 HeaderView: Fix padding 2021-03-18 22:23:58 -05:00
Alinson S. Xavier
8b2285787c Fix numerical spinner in BarCardView 2021-03-18 22:09:54 -05:00
Alinson S. Xavier
c83cd5fd10 Render YES_AUTO as outlined checkmark 2021-03-18 22:04:23 -05:00
Alinson S. Xavier
381c67d020 Allow unitless numerical habits 2021-03-18 22:04:23 -05:00
Alinson S. Xavier
e745b959ca Fix multiple selection 2021-03-18 22:04:23 -05:00
Quentin Hibon
9c81f22a4d
Start snooze activity after later is selected from lock screen (#840)
Fixes #787.
2021-03-15 08:34:42 -05:00
Alinson S. Xavier
51947576aa HistoryEditorDialog: Use system theme 2021-03-14 09:17:26 -05:00
Alinson S. Xavier
7b68938e14 ButtonView: Adjust size of question marks 2021-03-13 18:45:18 -06:00
Alinson S. Xavier
ee462715de Use different colors for YES_AUTO and NO; increase contrast slightly 2021-03-13 18:44:04 -06:00
Alinson S. Xavier
3ece80f3da Remove unused class and resource 2021-03-13 16:35:27 -06:00
Quentin Hibon
fc26d7967f
Make validation errors readable (#837)
Fixes #757.
2021-03-10 20:37:43 -06:00
Quentin Hibon
50ebff3edf Adapt message when all habits are completed
Closes #700.
2021-02-13 08:14:40 -06:00
Quentin Hibon
b1da72dc3a
Bump org.jlleitschuh.gradle.ktlint from 9.4.1 to 10.0.0 (#786) 2021-02-12 07:07:39 -06:00
Quentin Hibon
8790c0e87b Delete snooze_interval preference 2021-02-09 10:14:25 +01:00
Quentin Hibon
bc461e1239 Restore notification sound customization setting
For devices older than Android Oreo, notification sound customization has been
disabled since aadfac68cd. We enable it again.

Fixes #766.
2021-02-09 09:22:53 +01:00