             status-im.extensions.camera
             [status-im.utils.ethereum.tokens :as tokens]
             [status-im.utils.ethereum.core :as ethereum]
-            [status-im.chat.commands.sending :as commands-sending]))
+            [status-im.chat.commands.sending :as commands-sending]
+            [status-im.browser.core :as browser]))
 
 (re-frame/reg-fx
  ::identity-event

                 :arguments   {:values    :vector
                               :operation {:one-of #{:plus :minus :times :divide}}
                               :on-result :event}}
                'camera/picture
                {:permissions [:read]
                 :value       :extensions/camera-picture

 :extensions/arithmetic
 (fn [_ [_ _ m]]
   {::arithmetic m}))

(handlers/register-handler-fx
 :extensions/open-url
 (fn [cofx [_ _ {:keys [url]}]]
   (browser/open-url cofx url)))

(defn button [{:keys [on-click enabled disabled] :as m} label]
  [button/secondary-button (merge {:disabled? (or (when (contains? m :enabled) (or (nil? enabled) (false? enabled))) disabled)}
