Sylvia van Os
339750e97c
Update AGP to 8.0.0
2023-04-14 20:56:29 +02:00
Alexander Ivanov
3a9b92231e
Set min/max date in the DatePickerDialog when 'valid from' or 'expiry' dates are set
...
Signed-off-by: Alexander Ivanov <vanogrid@gmail.com >
2023-02-01 19:22:22 +01:00
Alexander Ivanov
f1753ea943
Add Valid From field
...
Signed-off-by: Alexander Ivanov <vanogrid@gmail.com >
2023-02-01 19:22:20 +01:00
Sylvia van Os
614753303f
Fix crash when permissionRequestResult gets cancelled
2023-01-25 18:30:47 +01:00
Sylvia van Os
89a13cecf5
Create extra result function to work around onPermissionResult not existing on Android 5
2023-01-24 23:14:57 +01:00
Sylvia van Os
fd2400eaf5
Refactor permission code
...
- Remove write permission (was never needed)
- Only use read permission for Android 5 and 6
- Simplify logic by mocking a valid permission result if permission
already granted
2023-01-24 20:44:17 +01:00
Sylvia van Os
6508a6d5f7
Merge pull request #1116 from pfaffenrodt/feature/pick-image-file
...
Add support to pick image from content provider
2022-11-22 19:04:48 +01:00
Pfaffenrodt
77ef0a2833
Extract same logic to enable back button of toolbar
...
ManageGroupActivity setDisplayShowHomeEnabled was redundant
2022-10-29 14:19:34 +02:00
Pfaffenrodt
e97f7c8645
Add support to pick image from content provider
2022-10-28 23:46:40 +02:00
Alexander Ivanov
7dfa7071e3
Fix DatePickerDialog sometimes storing dates at 12:00 PM instead of 12:00 AM
2022-10-22 20:46:22 +03:00
Aayush Gupta
aec4292203
Catima: Migrate to MaterialAlertDialogBuilder everywhere
...
This follows Material theme and looks much better compared to AlertDialog
Ref: https://developer.android.com/reference/com/google/android/material/dialog/MaterialAlertDialogBuilder
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2022-10-05 10:37:03 +05:30
Aayush Gupta
635ec748b3
Catima: Migrate to view binding
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2022-10-05 00:20:31 +05:30
Sylvia van Os
5bfca6e428
Always update last used when creating or editing a card
2022-09-08 19:27:31 +02:00
Sylvia van Os
83d19c30c2
Throw more exceptions
...
We want to know when the code is wrong instead of silently failing
2022-08-25 19:28:09 +02:00
Sylvia van Os
7a6232c8b6
Make spotBugs happy
2022-07-27 21:37:44 +02:00
Sylvia van Os
34bbfffdaf
Make the possibility to set a custom header more visible
2022-07-27 21:22:59 +02:00
Sylvia van Os
11bb1aa126
Remove unused imports
2022-07-24 18:42:16 +02:00
Sylvia van Os
688010cae4
Fixes to currency parsing
2022-07-24 18:14:49 +02:00
Alajemba
e2c621ec1f
Wrapped call to launch photo picker in LoyaltyCardEditActivity in try-catch block
2022-06-30 20:57:26 +00:00
Jasielprogramador
548b1b1e8e
Archive support
2022-06-16 22:59:11 +02:00
pooyanazari
1c4b4f1f25
Set min date for expire date
2022-06-06 21:58:29 +04:30
Sylvia van Os
05f3b77a73
Various minor fixes
2022-05-25 21:06:43 +02:00
Asier
00b0502a6a
Add card duplication feature
2022-05-25 21:03:11 +02:00
Sylvia van Os
420886bc3f
Make SpotBugs happy
2022-03-22 21:59:35 +01:00
Sylvia van Os
86a01d36db
Fix background color generation
2022-03-22 21:46:37 +01:00
Sylvia van Os
61578a6016
Consistency improvements
2022-03-08 19:56:42 +01:00
Sylvia van Os
a5901700b4
Fix crash in edit activity on locale without region
2022-02-11 18:45:28 +01:00
Katharine Chui
3d138c9504
ucrop toolbar typeface
2022-02-03 20:40:52 +08:00
Katharine Chui
6224a13d17
ucrop color
2022-02-03 17:53:32 +08:00
Sylvia van Os
917e60a7f5
Fix lint
2022-01-26 22:58:02 +01:00
Sylvia van Os
9887e19ec9
Fix cropper not using theme colour
2022-01-26 22:38:02 +01:00
Sylvia van Os
355c2f9ceb
Material You redesign
2022-01-14 20:27:11 +01:00
Sylvia van Os
a7a775bc01
Put all barcode related fields together in the edit screen
2022-01-02 21:40:44 +01:00
Sylvia van Os
af831cfdbd
Fixed pressing the save button multiple times creating multiple entries
...
Fixes #691
2021-12-26 21:20:27 +01:00
bors[bot]
8ce0ce82ef
Merge #680
...
680: Cleanup DBHelper r=TheLastProject a=TheLastProject
Should fix #661
Supersedes #678
While #678 does fix the issue too, the real issue was that an importer could cause such a state issue. So I've instead been seriously cleaning up. While all the tests pass, I do want to test this slightly longer before merging it into master.
Co-authored-by: Sylvia van Os <sylvia@hackerchick.me >
2021-12-14 19:24:29 +00:00
Katharine Chui
1d41039de2
674 currency symbol order fixes ( #679 )
2021-12-14 17:26:18 +01:00
Sylvia van Os
f2e820f7bb
Cleanup DBHelper
2021-12-13 22:47:12 +01:00
Sylvia van Os
15f5c4a67b
Make cropper respect custom theme choice
2021-11-28 14:54:49 +01:00
Sylvia van Os
49200fff48
Fix most spotBugs issues
2021-11-23 23:23:58 +01:00
Sylvia van Os
5e15555ad4
Fix deprecations
2021-11-19 15:07:04 +01:00
Sylvia van Os
e592452d02
Use card shape for icons by default
2021-11-18 15:41:48 +01:00
Sylvia van Os
2536767437
Android Studio -> Reformat Code
2021-11-14 21:55:33 +01:00
Katharine
40a68a55e2
simplify adaptive bitmap creation with Canvas, trigger shortcut list refresh on card save
2021-11-10 14:06:08 +08:00
bors[bot]
472d8ae18d
Merge #577
...
577: offer 1:1 by default when cropping icon, set header color only for icon r=TheLastProject a=Kethen
header color is only change after an icon is set
cropper offers 1:1 by default instead when an icon is getting cropped
Co-authored-by: Katharine <kwchuiaa@connect.ust.hk >
2021-11-08 18:45:38 +00:00
Sylvia van Os
388db6feab
Uppercase Card for consistency too
2021-11-08 19:42:51 +01:00
Katharine
5833d49fbf
offer 1:1 by default when cropping icon, set header color only for icon
2021-11-08 19:10:41 +08:00
Sylvia van Os
af4075b9e2
Choose image as card icon ( #333 )
2021-11-07 20:27:28 +01:00
Sylvia van Os
11970004f0
Android Studio reformat
2021-11-07 15:38:55 +01:00
Katharine
dd981d72d7
do not attempt image load if removed, typo fixes, do not cast literals, offer full image on cropper start
2021-11-06 12:47:08 +08:00
Katharine
8940a8ea77
card edit activity: revised instance saving, revised temp image handling
2021-11-05 00:01:03 +08:00