summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/components/notes.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-29 17:17:15 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-29 17:17:15 +0900
commit372bfaceda5bf694bf33986b5a64a56e5787104c (patch)
treec498cd9fac2f79404e2d5b74549a5d759257ddcf /src/client/app/mobile/views/components/notes.vue
parentMerge pull request #1559 from syuilo/visibility (diff)
downloadmisskey-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.vue6
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();
}