mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Refactoring
This commit is contained in:
@@ -687,7 +687,10 @@
|
||||
}
|
||||
|
||||
- (bool)isCurrentlyEmoji {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
NSString *value = [[UITextInputMode currentInputMode] primaryLanguage];
|
||||
#pragma clang diagnostic pop
|
||||
if ([value isEqualToString:@"emoji"]) {
|
||||
return true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user