Add notification about upcoming lesson (#578)
This commit is contained in:
BIN
app/src/main/res/drawable-hdpi/ic_stat_timetable.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_stat_timetable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 312 B |
BIN
app/src/main/res/drawable-mdpi/ic_stat_timetable.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_stat_timetable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 275 B |
BIN
app/src/main/res/drawable-xhdpi/ic_stat_timetable.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_stat_timetable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 358 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_stat_timetable.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_stat_timetable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 459 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_stat_timetable.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_stat_timetable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 659 B |
@ -121,6 +121,9 @@
|
||||
<string name="timetable_time">Godziny</string>
|
||||
<string name="timetable_changes">Zmiany</string>
|
||||
<string name="timetable_no_items">Brak lekcji w tym dniu</string>
|
||||
<string name="timetable_now">Teraz: %s</string>
|
||||
<string name="timetable_next">Za chwilę: %s</string>
|
||||
<string name="timetable_later">Później: %s</string>
|
||||
<!--Completed lessons-->
|
||||
<string name="completed_lessons_title">Lekcje zrealizowane</string>
|
||||
<string name="completed_lessons_button">Zobacz lekcje zrealizowane</string>
|
||||
@ -319,6 +322,7 @@
|
||||
<string name="pref_view_app_language">Język aplikacji</string>
|
||||
<string name="pref_notify_header">Powiadomienia</string>
|
||||
<string name="pref_notify_switch">Pokazuj powiadomienia</string>
|
||||
<string name="pref_notify_upcoming_lessons_switch">Pokazuj powiadomienia o następnych lekcjach</string>
|
||||
<string name="pref_notify_debug_switch">Pokazuj powiadomienia debugowania</string>
|
||||
<string name="pref_services_header">Synchronizacja</string>
|
||||
<string name="pref_services_switch">Automatyczna aktualizacja</string>
|
||||
@ -344,6 +348,7 @@
|
||||
<string name="channel_new_message">Nowe wiadomości</string>
|
||||
<string name="channel_new_notes">Nowe uwagi</string>
|
||||
<string name="channel_push">Powiadomienia push</string>
|
||||
<string name="channel_upcoming_lessons">Nadchodzące lekcje</string>
|
||||
<string name="channel_debug">Debugowanie</string>
|
||||
<!--Colors-->
|
||||
<string name="all_black">Czarny</string>
|
||||
|
@ -13,6 +13,7 @@
|
||||
<string name="pref_default_services_interval">60</string>
|
||||
<bool name="pref_default_services_wifi_only">false</bool>
|
||||
<bool name="pref_default_notifications_enable">true</bool>
|
||||
<bool name="pref_default_notification_upcoming_lessons_enable">false</bool>
|
||||
<bool name="pref_default_notification_debug">false</bool>
|
||||
<string name="pref_default_grade_modifier_plus">0.33</string>
|
||||
<string name="pref_default_grade_modifier_minus">0.33</string>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<string name="pref_key_services_wifi_only">services_disable_wifi_only</string>
|
||||
<string name="pref_key_services_force_sync">services_force_sync</string>
|
||||
<string name="pref_key_notifications_enable">notifications_enable</string>
|
||||
<string name="pref_key_notifications_upcoming_lessons_enable">notifications_upcoming_lessons_enable</string>
|
||||
<string name="pref_key_notification_debug">notification_debug</string>
|
||||
<string name="pref_key_grade_modifier_plus">grade_modifier_plus</string>
|
||||
<string name="pref_key_grade_modifier_minus">grade_modifier_minus</string>
|
||||
|
@ -130,6 +130,9 @@
|
||||
<string name="timetable_time">Hours</string>
|
||||
<string name="timetable_changes">Changes</string>
|
||||
<string name="timetable_no_items">No lessons this day</string>
|
||||
<string name="timetable_now">Now: %s</string>
|
||||
<string name="timetable_next">Next: %s</string>
|
||||
<string name="timetable_later">Later: %s</string>
|
||||
|
||||
|
||||
<!--Completed lessons-->
|
||||
@ -356,6 +359,7 @@
|
||||
|
||||
<string name="pref_notify_header">Notifications</string>
|
||||
<string name="pref_notify_switch">Show notifications</string>
|
||||
<string name="pref_notify_upcoming_lessons_switch">Show upcoming lesson notifications</string>
|
||||
<string name="pref_notify_debug_switch">Show debug notifications</string>
|
||||
|
||||
<string name="pref_services_header">Synchronization</string>
|
||||
@ -386,6 +390,7 @@
|
||||
<string name="channel_new_message">New messages</string>
|
||||
<string name="channel_new_notes">New notes</string>
|
||||
<string name="channel_push">Push notifications</string>
|
||||
<string name="channel_upcoming_lessons">Upcoming lessons</string>
|
||||
<string name="channel_debug">Debug</string>
|
||||
|
||||
|
||||
|
@ -96,6 +96,11 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="@string/pref_key_notifications_enable"
|
||||
app:title="@string/pref_notify_switch" />
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="@bool/pref_default_notification_upcoming_lessons_enable"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="@string/pref_key_notifications_upcoming_lessons_enable"
|
||||
app:title="@string/pref_notify_upcoming_lessons_switch" />
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="@bool/pref_default_notification_debug"
|
||||
app:iconSpaceReserved="false"
|
||||
|
Reference in New Issue
Block a user