From efff6d3997193a09280c37758e54047c9f0d13c1 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Fri, 3 Sep 2021 11:13:42 +0300 Subject: [PATCH] Fix clj kondo warnings in subs.cljs --- src/status_im/subs.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/subs.cljs b/src/status_im/subs.cljs index dd1b191ccc..4986878dba 100644 --- a/src/status_im/subs.cljs +++ b/src/status_im/subs.cljs @@ -688,7 +688,7 @@ :account-by-address :<- [:multiaccount/accounts] (fn [accounts [_ address]] - (when (and (string? address)) + (when (string? address) (some #(when (= (string/lower-case (:address %)) (string/lower-case address)) %) accounts)))) @@ -1234,7 +1234,7 @@ :<- [:chats/edit-message] (fn [[disconnected? {:keys [processing]} sending-image mainnet? one-to-one-chat? {:keys [public?]} reply edit]] (let [sending-image (seq sending-image)] - {:send (and (not (or processing disconnected?))) + {:send (not (or processing disconnected?)) :stickers (and mainnet? (not sending-image) (not reply))