Skip to content

Commit afc333f

Browse files
committed
lint
1 parent 7a153f9 commit afc333f

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

ios/Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ SPEC CHECKSUMS:
686686
FBLazyVector: d2db9d00883282819d03bbd401b2ad4360d47580
687687
FBReactNativeSpec: 94da4d84ba3b1acf459103320882daa481a2b62d
688688
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
689-
glog: 3ac2326f7fee4840a3066c90eb135ecd20496ded
689+
glog: 9e3310013355e9221591364060e841c28041dfe3
690690
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
691691
Keycard: ac6df4d91525c3c82635ac24d4ddd9a80aca5fc8
692692
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef

src/status_im2/contexts/chat/bottom_sheet_composer/actions/view.cljs

+3-4
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888

8989
(defn open-photo-selector
9090
[{:keys [input-ref]}
91-
{:keys [focused?]}
9291
{:keys [height]}
9392
insets]
9493
(permissions/request-permissions
@@ -105,9 +104,9 @@
105104
:t/external-storage-denied)))}))
106105

107106
(defn image-button
108-
[props state animations insets]
107+
[props animations insets]
109108
[quo/button
110-
{:on-press #(open-photo-selector props state animations insets)
109+
{:on-press #(open-photo-selector props animations insets)
111110
:icon true
112111
:type :outline
113112
:size 32
@@ -138,7 +137,7 @@
138137
[rn/view {:style style/actions-container}
139138
[rn/view {:style {:flex-direction :row}}
140139
[camera-button]
141-
[image-button props state animations insets]
140+
[image-button props animations insets]
142141
[reaction-button]
143142
[format-button]]
144143
[send-button props state animations window-height images?]

src/status_im2/contexts/chat/bottom_sheet_composer/effects.cljs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[react-native.reanimated :as reanimated]
66
[status-im2.contexts.chat.bottom-sheet-composer.constants :as constants]
77
[status-im2.contexts.chat.bottom-sheet-composer.keyboard :as kb]
8-
[utils.re-frame :as rf]
98
[utils.number :as utils.number]))
109

1110
(defn reenter-screen-effect

src/status_im2/contexts/chat/bottom_sheet_composer/utils.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
(defn calc-max-height
6363
[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)))
6565
max-height (- window-height
6666
margin-top
6767
kb-height

src/status_im2/contexts/chat/messages/view.cljs

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[reagent.core :as reagent]
77
[status-im2.constants :as constants]
88
[status-im2.contexts.chat.bottom-sheet-composer.view :as bottom-sheet-composer]
9-
[status-im2.contexts.chat.messages.composer.view :as composer]
109
[status-im2.contexts.chat.messages.contact-requests.bottom-drawer :as
1110
contact-requests.bottom-drawer]
1211
[status-im2.contexts.chat.messages.list.view :as messages.list]
@@ -80,9 +79,7 @@
8079
[messages.list/messages-list chat insets]
8180
(if-not able-to-send-message?
8281
[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])])]))
8683

8784

8885
(defn chat

0 commit comments

Comments
 (0)