diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-29 17:17:15 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-29 17:17:15 +0900 |
| commit | 372bfaceda5bf694bf33986b5a64a56e5787104c (patch) | |
| tree | c498cd9fac2f79404e2d5b74549a5d759257ddcf /src/client/app/mobile/views/components/notes.vue | |
| parent | Merge pull request #1559 from syuilo/visibility (diff) | |
| download | misskey-372bfaceda5bf694bf33986b5a64a56e5787104c.tar.gz misskey-372bfaceda5bf694bf33986b5a64a56e5787104c.tar.bz2 misskey-372bfaceda5bf694bf33986b5a64a56e5787104c.zip | |
リファクタリングなど
Diffstat (limited to 'src/client/app/mobile/views/components/notes.vue')
| -rw-r--r-- | src/client/app/mobile/views/components/notes.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue index e12dc1d040..9461fe6fe9 100644 --- a/src/client/app/mobile/views/components/notes.vue +++ b/src/client/app/mobile/views/components/notes.vue @@ -116,13 +116,13 @@ export default Vue.extend({ const isMyNote = note.userId == (this as any).os.i.id; const isPureRenote = note.renoteId != null && note.text == null && note.mediaIds.length == 0 && note.poll == null; - if ((this as any).os.i.clientSettings.showMyRenotes === false) { + if ((this as any).clientSettings.showMyRenotes === false) { if (isMyNote && isPureRenote) { return; } } - if ((this as any).os.i.clientSettings.showRenotedMyNotes === false) { + if ((this as any).clientSettings.showRenotedMyNotes === false) { if (isPureRenote && (note.renote.userId == (this as any).os.i.id)) { return; } @@ -187,7 +187,7 @@ export default Vue.extend({ this.clearNotification(); } - if ((this as any).os.i.clientSettings.fetchOnScroll !== false) { + if ((this as any).clientSettings.fetchOnScroll !== false) { const current = window.scrollY + window.innerHeight; if (current > document.body.offsetHeight - 8) this.loadMore(); } |