mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-09-23 04:40:42 +02:00
Update Ghostgram features
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import Foundation
|
||||
import SGSimpleSettings
|
||||
import Postbox
|
||||
import TelegramCore
|
||||
|
||||
|
||||
func sgDoubleTapMessageAction(incoming: Bool, message: Message) -> String {
|
||||
if incoming {
|
||||
return SGSimpleSettings.MessageDoubleTapAction.default.rawValue
|
||||
} else {
|
||||
return SGSimpleSettings.shared.messageDoubleTapActionOutgoing
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user