mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-28 20:40:13 +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 ->
|
||||
when {
|
||||
notificationType.contains("screenshot") -> ContentType.STATUS_CONVERSATION_CAPTURE_SCREENSHOT
|
||||
notificationType.contains("save_camera_roll") -> ContentType.STATUS_SAVE_TO_CAMERA_ROLL
|
||||
else -> contentType
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user