delete the title of the custom event reminder dialog

This commit is contained in:
tibbi 2017-05-23 23:35:52 +02:00
parent e5ac8a3e77
commit 619eef546b
18 changed files with 6 additions and 16 deletions

View File

@ -22,7 +22,7 @@ class CustomEventReminderDialog(val activity: Activity, val callback: (minutes:
.setNegativeButton(R.string.cancel, null)
.create().apply {
window!!.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
activity.setupDialogStuff(view, this, R.string.select_event_reminder)
activity.setupDialogStuff(view, this)
}
}

View File

@ -57,6 +57,10 @@ class Config(context: Context) : BaseConfig(context) {
get() = prefs.getInt(SNOOZE_DELAY, 10)
set(snoozeDelay) = prefs.edit().putInt(SNOOZE_DELAY, snoozeDelay).apply()
var displayPastEvents: Int
get() = prefs.getInt(DISPLAY_PAST_EVENTS, 0)
set(displayPastEvents) = prefs.edit().putInt(DISPLAY_PAST_EVENTS, displayPastEvents).apply()
var displayEventTypes: Set<String>
get() = prefs.getStringSet(DISPLAY_EVENT_TYPES, HashSet<String>())
set(displayEventTypes) = prefs.edit().remove(DISPLAY_EVENT_TYPES).putStringSet(DISPLAY_EVENT_TYPES, displayEventTypes).apply()

View File

@ -43,6 +43,7 @@ val DISPLAY_EVENT_TYPES = "display_event_types"
val GOOGLE_SYNC = "google_sync"
val SYNC_ACCOUNT_NAME = "sync_account_name"
val SNOOZE_DELAY = "snooze_delay"
val DISPLAY_PAST_EVENTS = "display_past_events"
val letterIDs = intArrayOf(R.string.sunday_letter, R.string.monday_letter, R.string.tuesday_letter, R.string.wednesday_letter,
R.string.thursday_letter, R.string.friday_letter, R.string.saturday_letter)

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Wähle eine Termin-Erinnerung</string>
<string name="reminder">Erinnerung</string>
<string name="no_reminder">Keine Erinnerung</string>
<string name="at_start">Zu Beginn</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Seleccionar un recordatorio de evento</string>
<string name="reminder">Recordatorio</string>
<string name="no_reminder">Sin recordatorio</string>
<string name="at_start">Al inicio</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Seléctionner un rappel d\'evénement</string>
<string name="reminder">Rappel</string>
<string name="no_reminder">Pas de rappel</string>
<string name="at_start">Au démarrage</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">रिमाइंडर</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">शुरुआत के समय</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">Emlékeztető</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">A kezdetekor</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">Promemoria</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">All\'inizio</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">תזכורת</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">בהתחלה</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">リマインダー</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">開始時</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Selecione um lembrete</string>
<string name="reminder">Lembrete</string>
<string name="no_reminder">Sem lembrete</string>
<string name="at_start">No início</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Selecione um lembrete</string>
<string name="reminder">Lembrete</string>
<string name="no_reminder">Sem lembrete</string>
<string name="at_start">No início</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Выбрать напоминание для события</string>
<string name="reminder">Напоминание</string>
<string name="no_reminder">Без напоминания</string>
<string name="at_start">С наступлением события</string>

View File

@ -101,7 +101,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Zvoľte pripomienku</string>
<string name="reminder">Pripomenka</string>
<string name="no_reminder">Žiadna pripomienka</string>
<string name="at_start">Na začiatku</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">Påminnelse</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">Vid start</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Bir etkinlik hatırlatıcısı seçin</string>
<string name="reminder">Hatırlatma</string>
<string name="no_reminder">Hatırlatma yok</string>
<string name="at_start">Başlangıçta</string>

View File

@ -97,7 +97,6 @@
</plurals>
<!-- Event Reminders -->
<string name="select_event_reminder">Select an event reminder</string>
<string name="reminder">Reminder</string>
<string name="no_reminder">No reminder</string>
<string name="at_start">At start</string>