Commit Graph

7 Commits

Author SHA1 Message Date
Ammar Githam 383485abec Handle invalid custom date time format. Fixes austinhuang0131/barinsta#1499 2021-07-06 07:40:25 +09:00
Austin Huang 2395b3b892
remake date formatter 2021-05-23 20:51:29 -04:00
Anderson Mesquita 68033cd0ec Save "Swap time and date positions" checkbox state
Currently, if the user checks the option "Swap time and date positions",
leaves the settings modal and returns to it, the option will be
unchecked, even though the date and time are, indeed, swapped.

This saves the value of the "Swap time and date positions" option so
that it will match whatever state the user selected last.

Fixes: #165
2020-09-18 11:46:46 -04:00
Anderson Mesquita 29840f66c7 Switch isSwapTime conditional
This doesn't change behavior, but makes the variable `isSwapTime` match
the value of the checkbox state (`cbSwapTimeDate.isChecked()`). Now,
both of them will be either `true` or `false` together, instead of
having opposite values.
2020-09-18 10:55:47 -04:00
Ammar Githam 80044b5daf Break down Utils into separate utility classes as Utils was getting bloated 2020-09-10 20:44:25 +09:00
Ammar Githam 40e810e88c Preferences! Check description
1. Added preferences screens.
2. Some DM changes.
3. Init profile actions using services
2020-08-30 15:47:04 +09:00
Austin Huang 13beabf741
init 2020-07-01 13:08:28 -04:00