mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-07 15:38:54 +01:00
shortening the message showing the time till the event
This commit is contained in:
parent
1ce4c88ac2
commit
daf7f8cd70
@ -145,7 +145,7 @@ fun Context.scheduleEventIn(notifTS: Long, event: Event, showToasts: Boolean) {
|
||||
if (showToasts) {
|
||||
if (config.displayEventTypes.contains(event.eventType.toString())) {
|
||||
val secondsTillNotification = (newNotifTS - System.currentTimeMillis()) / 1000
|
||||
val msg = String.format(getString(R.string.reminder_triggers_in), formatSecondsToTimeString(secondsTillNotification.toInt()))
|
||||
val msg = String.format(getString(R.string.time_remaining), formatSecondsToTimeString(secondsTillNotification.toInt()))
|
||||
toast(msg)
|
||||
} else {
|
||||
toast(R.string.saving_filtered_out, Toast.LENGTH_LONG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user