       (i18n/label :t/transactions-sign-transaction)
       [vector-icons/icon :icons/forward {:color (if sign-enabled? :white :gray)}]]]))
 
-;; MAIN SEND TRANSACTION VIEW
-(defn- send-transaction-view [{:keys [modal? transaction scroll advanced? network]}]
+(defn- render-send-transaction-view [{:keys [modal? transaction scroll advanced? network amount-input]}]
   (let [{:keys [amount amount-text amount-error asset-error show-password-input? to to-name sufficient-funds?
                 sufficient-gas? in-progress? from-chat? symbol]} transaction
         {:keys [decimals] :as token} (tokens/asset-for (ethereum/network->chain-keyword network) symbol)]

      (when show-password-input?
        [password-input-panel :t/signing-phrase-description in-progress?])
      (when in-progress? [react/view styles/processing-view])]]))

;; SEND TRANSACTION FROM WALLET (CHAT)
(defview send-transaction []

                                                        (when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas)))
                                     :amount        amount
                                     :amount-text   amount-text
                                     :input-options {:on-change-text #(re-frame/dispatch [:wallet.send/set-and-validate-amount % symbol decimals])
                                                     :ref            (partial reset! amount-input)}} token]
        [advanced-options advanced? transaction scroll]]]
      (if show-password-input?
        [enter-password-buttons in-progress?
