mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Sketch out GIF picker.
// FREEBIE
This commit is contained in:
parent
27e5a2f1b2
commit
62ba5701f6
3 changed files with 19 additions and 1 deletions
|
@ -662,6 +662,10 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
|
|||
[self createScrollDownButton];
|
||||
[self createHeaderViews];
|
||||
[self addNotificationListeners];
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self showGifPicker];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)registerCustomMessageNibs
|
||||
|
|
|
@ -273,7 +273,12 @@ typedef NS_ENUM(NSInteger, CellState) { kArchiveState, kInboxState };
|
|||
|
||||
[self updateBarButtonItems];
|
||||
|
||||
[GifManager.sharedInstance test];
|
||||
// [GifManager.sharedInstance test];
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
TSThread *thread = [self threadForIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
|
||||
[self presentThread:thread keyboardOnViewAppearing:NO callOnViewAppearing:NO];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)updateBarButtonItems
|
||||
|
|
|
@ -601,6 +601,12 @@
|
|||
/* A label for generic attachments. */
|
||||
"GENERIC_ATTACHMENT_LABEL" = "Attachment";
|
||||
|
||||
/* Title for the 'gif picker' dialog. */
|
||||
"GIF_PICKER_VIEW_TITLE" = "Gif Search";
|
||||
|
||||
/* Placeholder text for the search field in gif view */
|
||||
"GIF_VIEW_SEARCH_PLACEHOLDER_TEXT" = "Enter your search";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"GROUP_AVATAR_CHANGED" = "Avatar changed. ";
|
||||
|
||||
|
@ -1295,6 +1301,9 @@
|
|||
/* No comment provided by engineer. */
|
||||
"SECURE_SESSION_RESET" = "Secure session was reset.";
|
||||
|
||||
/* Label for 'select gif to attach' action sheet button */
|
||||
"SELECT_GIF_BUTTON" = "Gif";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"SEND_AGAIN_BUTTON" = "Send Again";
|
||||
|
||||
|
|
Loading…
Reference in a new issue