2018-09-18 16:27:58 +00:00
|
|
|
(ns status-im.ui.screens.hardwallet.connect.subs
|
|
|
|
(:require [re-frame.core :as re-frame]))
|
|
|
|
|
|
|
|
(re-frame/reg-sub
|
|
|
|
:hardwallet/nfc-enabled?
|
|
|
|
(fn [db]
|
2018-12-04 13:49:09 +00:00
|
|
|
(get-in db [:hardwallet :nfc-enabled?])))
|
|
|
|
|
|
|
|
(re-frame/reg-sub
|
|
|
|
:hardwallet/card-read-in-progress?
|
|
|
|
(fn [db]
|
|
|
|
(get-in db [:hardwallet :card-read-in-progress?] false)))
|