diff options
author | Bryan Lee <38807139+liby@users.noreply.github.com> | 2023-10-01 21:17:18 +0800 |
---|---|---|
committer | Bryan Lee <38807139+liby@users.noreply.github.com> | 2023-10-04 21:47:19 +0800 |
commit | 2ca673d7f524d618ff982001840e82d758624c39 (patch) | |
tree | 3fc63954fbbd3b9e3d790ddd557a3cdc32ca0380 /src/view/com/lightbox/ImageViewing/index.tsx | |
parent | a76fb78d532e436b6b84efd09d70088410a2bb20 (diff) | |
download | voidsky-2ca673d7f524d618ff982001840e82d758624c39.tar.zst |
Replace `isDesktop` with `isWeb` in `DesktopWebTextLink` component
- Replaced `useWebMediaQueries().isDesktop` with `isWeb` in `DesktopWebTextLink` component to fix inconsistent behavior due to media query changes. - `isWeb` doesn't rely on media queries, offering stable judgement and avoiding fluctuation when adjusting the browser window.
Diffstat (limited to 'src/view/com/lightbox/ImageViewing/index.tsx')
0 files changed, 0 insertions, 0 deletions