[#7274] Address and web3 authorising permission window disappears right away ENS/Voting dapp home view loads
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
parent
16b657d6ee
commit
c7b532e1c5
|
@ -30,7 +30,7 @@
|
|||
(defn permission-details [requested-permission]
|
||||
(get browser.permissions/supported-permissions requested-permission))
|
||||
|
||||
(views/defview permissions-panel [{:keys [dapp? dapp]} {:keys [dapp-name]}]
|
||||
(views/defview permissions-panel [[dapp? dapp] {:keys [dapp-name]}]
|
||||
(views/letsubs [bottom-anim-value (anim/create-value -354)
|
||||
alpha-value (anim/create-value 0)
|
||||
current-permission (reagent/atom nil)
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
(get-inject-js url))
|
||||
:injected-java-script js-res/webview-js}])]
|
||||
[navigation url-original webview can-go-back? can-go-forward?]
|
||||
[permissions.views/permissions-panel browser show-permission]
|
||||
[permissions.views/permissions-panel [(:dapp? browser) (:dapp browser)] show-permission]
|
||||
(when show-tooltip
|
||||
[tooltip/bottom-tooltip-info
|
||||
(if (= show-tooltip :secure)
|
||||
|
|
Loading…
Reference in New Issue