mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 10:16:01 +00:00
[#9542] Make "Sync over mobile network" modal even less annoying
This commit is contained in:
parent
6facfe3938
commit
935029aef0
@ -12,7 +12,8 @@
|
||||
(fx/defn sheet-defaults
|
||||
[{:keys [db]}]
|
||||
(let [remember-choice? (get-in db [:multiaccount :remember-syncing-choice?])]
|
||||
{:db (assoc db :mobile-network/remember-choice? remember-choice?)}))
|
||||
{:db (assoc db :mobile-network/remember-choice? (or (nil? remember-choice?)
|
||||
remember-choice?))}))
|
||||
|
||||
(fx/defn on-network-status-change
|
||||
[{:keys [db] :as cofx}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user