summaryrefslogtreecommitdiff
path: root/src/web/app/common/mios.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-10 14:56:33 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-10 14:56:33 +0900
commit08ee9e4eaffa4b6809440ec2cbe4daad084c00df (patch)
treee07b083068569ff26c8df29cbb949d29f5cbd648 /src/web/app/common/mios.ts
parentwip (diff)
downloadsharkey-08ee9e4eaffa4b6809440ec2cbe4daad084c00df.tar.gz
sharkey-08ee9e4eaffa4b6809440ec2cbe4daad084c00df.tar.bz2
sharkey-08ee9e4eaffa4b6809440ec2cbe4daad084c00df.zip
wip
Diffstat (limited to 'src/web/app/common/mios.ts')
-rw-r--r--src/web/app/common/mios.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts
index 4ff2333e8a..e91def521b 100644
--- a/src/web/app/common/mios.ts
+++ b/src/web/app/common/mios.ts
@@ -38,7 +38,7 @@ export default class MiOS extends EventEmitter {
/**
* Whether signed in
*/
- public get isSignedin() {
+ public get isSignedIn() {
return this.i != null;
}
@@ -251,7 +251,7 @@ export default class MiOS extends EventEmitter {
if (!isSwSupported) return;
// Reject when not signed in to Misskey
- if (!this.isSignedin) return;
+ if (!this.isSignedIn) return;
// When service worker activated
navigator.serviceWorker.ready.then(registration => {