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…
Reference in New Issue