mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-30 05:20:18 +02:00
fix(notifications): content type
This commit is contained in:
parent
ab7f5ab1bc
commit
692ec69eed
@ -315,6 +315,7 @@ class Notifications : Feature("Notifications", loadParams = FeatureLoadParams.IN
|
|||||||
val contentType = message.messageContent!!.contentType!!.let { contentType ->
|
val contentType = message.messageContent!!.contentType!!.let { contentType ->
|
||||||
when {
|
when {
|
||||||
notificationType.contains("screenshot") -> ContentType.STATUS_CONVERSATION_CAPTURE_SCREENSHOT
|
notificationType.contains("screenshot") -> ContentType.STATUS_CONVERSATION_CAPTURE_SCREENSHOT
|
||||||
|
notificationType.contains("save_camera_roll") -> ContentType.STATUS_SAVE_TO_CAMERA_ROLL
|
||||||
else -> contentType
|
else -> contentType
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user