()
| 11 | |
| 12 | const MagnifySizeKey = "ufs_magnify_image_size"; |
| 13 | const getConfigSize = async () => { |
| 14 | if (!CACHED.configSize) { |
| 15 | const { Storage } = await import("./helpers/utils.js"); |
| 16 | const data = await Storage.get(MagnifySizeKey); |
| 17 | CACHED.configSize = data?.split("x") || [20, 20]; |
| 18 | } |
| 19 | return CACHED.configSize; |
| 20 | }; |
| 21 | const setConfigSize = async (width, height) => { |
| 22 | const { Storage } = await import("./helpers/utils.js"); |
| 23 | CACHED.configSize = [width, height]; |