mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-25 03:14:37 -06:00
[Push/Mobidziennik] Add support for behaviour grades push.
This commit is contained in:
parent
4ad826ebe8
commit
fdad3b9997
@ -53,7 +53,7 @@ class SzkolnyMobidziennikFirebase(val app: App, val profiles: List<Profile>, val
|
|||||||
/* assets/www/js/push.js */
|
/* assets/www/js/push.js */
|
||||||
val viewIdPair = when (type) {
|
val viewIdPair = when (type) {
|
||||||
"wiadOdebrana" -> DRAWER_ITEM_MESSAGES to TYPE_RECEIVED
|
"wiadOdebrana" -> DRAWER_ITEM_MESSAGES to TYPE_RECEIVED
|
||||||
"oceny", "ocenyKoncowe" -> DRAWER_ITEM_GRADES to 0
|
"oceny", "ocenyKoncowe", "zachowanie" -> DRAWER_ITEM_GRADES to 0
|
||||||
"uwagi" -> DRAWER_ITEM_BEHAVIOUR to 0
|
"uwagi" -> DRAWER_ITEM_BEHAVIOUR to 0
|
||||||
"nieobecnoscPierwszaLekcja", "nieobecnosciDzisiaj" -> DRAWER_ITEM_ATTENDANCE to 0
|
"nieobecnoscPierwszaLekcja", "nieobecnosciDzisiaj" -> DRAWER_ITEM_ATTENDANCE to 0
|
||||||
else -> return@run
|
else -> return@run
|
||||||
|
Loading…
Reference in New Issue
Block a user