mirror of
https://github.com/faroukbmiled/RyukGram.git
synced 2026-07-25 21:50:51 +02:00
13 lines
325 B
Plaintext
13 lines
325 B
Plaintext
#import "../../Utils.h"
|
|
|
|
%hook IGCommentComposer.IGCommentComposerController
|
|
- (void)onSendButtonTap {
|
|
if ([SCIUtils getBoolPref:@"post_comment_confirm"]) {
|
|
NSLog(@"[SCInsta] Confirm post comment triggered");
|
|
|
|
[SCIUtils showConfirmation:^(void) { %orig; }];
|
|
} else {
|
|
return %orig;
|
|
}
|
|
}
|
|
%end |