(min)
| 3064 | } |
| 3065 | |
| 3066 | function setCryptoUiMinimized(min) { |
| 3067 | try { |
| 3068 | const cur = JSON.parse(localStorage.getItem(CRYPTO_JOB_STORAGE_KEY) || 'null'); |
| 3069 | if (cur && typeof cur === 'object') { |
| 3070 | cur.minimized = !!min; |
| 3071 | localStorage.setItem(CRYPTO_JOB_STORAGE_KEY, JSON.stringify(cur)); |
| 3072 | } |
| 3073 | } catch (e) { } |
| 3074 | } |
| 3075 | |
| 3076 | function ensureCryptoTransferUiJob(folder, mode, totalFiles = 0, totalBytes = 0) { |
| 3077 | if (__cryptoTransferUiJob) return __cryptoTransferUiJob; |