File tree 5 files changed +6
-11
lines changed
src/status_im2/contexts/chat
5 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -686,7 +686,7 @@ SPEC CHECKSUMS:
686
686
FBLazyVector: d2db9d00883282819d03bbd401b2ad4360d47580
687
687
FBReactNativeSpec: 94da4d84ba3b1acf459103320882daa481a2b62d
688
688
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
689
- glog: 3ac2326f7fee4840a3066c90eb135ecd20496ded
689
+ glog: 9e3310013355e9221591364060e841c28041dfe3
690
690
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
691
691
Keycard: ac6df4d91525c3c82635ac24d4ddd9a80aca5fc8
692
692
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
Original file line number Diff line number Diff line change 88
88
89
89
(defn open-photo-selector
90
90
[{:keys [input-ref]}
91
- {:keys [focused?]}
92
91
{:keys [height]}
93
92
insets]
94
93
(permissions/request-permissions
105
104
:t/external-storage-denied )))}))
106
105
107
106
(defn image-button
108
- [props state animations insets]
107
+ [props animations insets]
109
108
[quo/button
110
- {:on-press #(open-photo-selector props state animations insets)
109
+ {:on-press #(open-photo-selector props animations insets)
111
110
:icon true
112
111
:type :outline
113
112
:size 32
138
137
[rn/view {:style style/actions-container}
139
138
[rn/view {:style {:flex-direction :row }}
140
139
[camera-button]
141
- [image-button props state animations insets]
140
+ [image-button props animations insets]
142
141
[reaction-button]
143
142
[format-button]]
144
143
[send-button props state animations window-height images?]
Original file line number Diff line number Diff line change 5
5
[react-native.reanimated :as reanimated]
6
6
[status-im2.contexts.chat.bottom-sheet-composer.constants :as constants]
7
7
[status-im2.contexts.chat.bottom-sheet-composer.keyboard :as kb]
8
- [utils.re-frame :as rf]
9
8
[utils.number :as utils.number]))
10
9
11
10
(defn reenter-screen-effect
Original file line number Diff line number Diff line change 61
61
62
62
(defn calc-max-height
63
63
[window-height kb-height insets images? reply?]
64
- (let [margin-top (if platform/ios? (:top insets) (+ 10 0 ))
64
+ (let [margin-top (if platform/ios? (:top insets) (+ 10 ( :top insets) ))
65
65
max-height (- window-height
66
66
margin-top
67
67
kb-height
Original file line number Diff line number Diff line change 6
6
[reagent.core :as reagent]
7
7
[status-im2.constants :as constants]
8
8
[status-im2.contexts.chat.bottom-sheet-composer.view :as bottom-sheet-composer]
9
- [status-im2.contexts.chat.messages.composer.view :as composer]
10
9
[status-im2.contexts.chat.messages.contact-requests.bottom-drawer :as
11
10
contact-requests.bottom-drawer]
12
11
[status-im2.contexts.chat.messages.list.view :as messages.list]
80
79
[messages.list/messages-list chat insets]
81
80
(if-not able-to-send-message?
82
81
[contact-requests.bottom-drawer/view chat-id contact-request-state group-chat]
83
- ; [composer/composer chat-id insets]
84
- [bottom-sheet-composer/bottom-sheet-composer insets]
85
- )])]))
82
+ [bottom-sheet-composer/bottom-sheet-composer insets])])]))
86
83
87
84
88
85
(defn chat
You can’t perform that action at this time.
0 commit comments