mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Added day name to snooze time selector
This commit is contained in:
@@ -1226,7 +1226,7 @@ public class FragmentMessages extends FragmentEx {
|
||||
long duration = (hours + days * 24) * HOUR_MS;
|
||||
long time = now + duration;
|
||||
DateFormat df = SimpleDateFormat.getDateTimeInstance(SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT);
|
||||
tvTime.setText(df.format(time));
|
||||
tvTime.setText(new SimpleDateFormat("E").format(time) + " " + df.format(time));
|
||||
tvTime.setVisibility(duration == 0 ? View.INVISIBLE : View.VISIBLE);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user