mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-06-11 04:17:46 +02:00
14 lines
336 B
Swift
14 lines
336 B
Swift
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
|
|
}
|
|
}
|