fix(nds): missing check for app.booted in resize handler to allow hints
This commit is contained in:
@@ -30,7 +30,7 @@ const windowSize = useWindowSize();
|
||||
|
||||
watch([windowSize.width, windowSize.height], ([width, height]) => {
|
||||
if (width / height > 614 / 667) {
|
||||
app.allowHints();
|
||||
if (app.booted) app.allowHints();
|
||||
} else {
|
||||
app.disallowHints();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user