mirror of
https://github.com/status-im/status-react.git
synced 2025-01-23 01:09:49 +00:00
fix Mobile app doesn't allow taking screenshots when the 'Block Screenshots' toggle is turned off (#20941)
This commit is contained in:
parent
bd4b7fc49d
commit
3c102b9797
@ -333,7 +333,7 @@
|
||||
[flag]
|
||||
(log/debug "[native-module] set-blank-preview-flag")
|
||||
;; Sometimes the app crashes during logout because `flag` is nil.
|
||||
(when flag
|
||||
(when-not (nil? flag)
|
||||
(.setBlankPreviewFlag ^js (encryption) flag)))
|
||||
|
||||
(defn get-device-model-info
|
||||
|
Loading…
x
Reference in New Issue
Block a user