mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 20:29:02 +00:00
Fix notification times
This commit is contained in:
parent
a4f86d2ee0
commit
73c07a389f
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ public class PreferencesFragment extends PreferenceFragment implements SharedPre
|
|||
int hour = Integer.parseInt(pieces[0]);
|
||||
int minute = Integer.parseInt(pieces[1]);
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.set(Calendar.HOUR, hour);
|
||||
cal.set(Calendar.HOUR_OF_DAY, hour);
|
||||
cal.set(Calendar.MINUTE, minute);
|
||||
long trigger_time = cal.getTimeInMillis();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue