Skip to content

Commit cbe10d8

Browse files
committed
update: sideBtn default status on safari
1 parent 47c9850 commit cbe10d8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/stores/view.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ export const useDynamicFilterPanelStore = defineStore('DynamicFilterPanel', () =
9393

9494
// 快捷按钮
9595
export const useSideBtnStore = defineStore('SideBtn', () => {
96-
// turn on sideBtn for safari #291
97-
const isSafari = /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent)
98-
const isShow = useStorage('bili-cleaner-side-btn-show', isSafari, localStorage)
96+
const isShow = useStorage('bili-cleaner-side-btn-show', false, localStorage)
9997
const show = () => {
10098
isShow.value = true
10199
}

0 commit comments

Comments
 (0)