mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
feat(nbstore): improve nbstore (#9512)
This commit is contained in:
Vendored
+3
@@ -32,6 +32,9 @@ export class UaHelper {
|
||||
}
|
||||
|
||||
private isStandaloneMode() {
|
||||
if (typeof window === 'undefined') {
|
||||
return false;
|
||||
}
|
||||
if ('standalone' in window.navigator) {
|
||||
return !!window.navigator.standalone;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user