[#9227] Disable keycard unpairing for v1

This commit is contained in:
Roman Volosovskyi 2019-11-14 10:22:57 +02:00
parent f7384ae338
commit ad80d4b0fd
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 5 additions and 3 deletions

View File

@ -121,9 +121,11 @@
[action-row {:icon :main-icons/add [action-row {:icon :main-icons/add
:label :t/change-pin :label :t/change-pin
:on-press #(re-frame/dispatch [:keycard-settings.ui/change-pin-pressed])}] :on-press #(re-frame/dispatch [:keycard-settings.ui/change-pin-pressed])}]
[action-row {:icon :main-icons/close ;; TODO(rasom): uncomment this when unpairing will be enabled
:label :t/unpair-card ;; https://github.com/status-im/status-react/issues/9227
:on-press #(re-frame/dispatch [:keycard-settings.ui/unpair-card-pressed])}]])])] #_[action-row {:icon :main-icons/close
:label :t/unpair-card
:on-press #(re-frame/dispatch [:keycard-settings.ui/unpair-card-pressed])}]])])]
; NOTE: Reset card is hidden until multiaccount removal will be implemented ; NOTE: Reset card is hidden until multiaccount removal will be implemented
#_(when pairing #_(when pairing
[react/view {:margin-bottom 35 [react/view {:margin-bottom 35