mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-06 05:32:54 +09:00
Don't show announcement popups if the tutorial isn't completed
This commit is contained in:
parent
8870a88d58
commit
1d29a0063b
@ -274,6 +274,7 @@ function checkForSplash() {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
$i &&
|
$i &&
|
||||||
|
defaultStore.state.tutorial === -1 &&
|
||||||
!["/announcements", "/announcements/"].includes(window.location.pathname)
|
!["/announcements", "/announcements/"].includes(window.location.pathname)
|
||||||
) {
|
) {
|
||||||
api("announcements", { withUnreads: true, limit: 10 })
|
api("announcements", { withUnreads: true, limit: 10 })
|
||||||
|
Loading…
Reference in New Issue
Block a user