From d7c94de07e17e31513780ceabf824a3d0760ff80 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 4 Mar 2018 09:39:25 +0900 Subject: #172 --- src/web/app/desktop/views/components/posts.post.vue | 5 +++++ src/web/app/desktop/views/components/settings.vue | 11 +++++++++++ 2 files changed, 16 insertions(+) (limited to 'src/web/app/desktop/views/components') diff --git a/src/web/app/desktop/views/components/posts.post.vue b/src/web/app/desktop/views/components/posts.post.vue index 4a95918c48..ce0a31d183 100644 --- a/src/web/app/desktop/views/components/posts.post.vue +++ b/src/web/app/desktop/views/components/posts.post.vue @@ -26,6 +26,7 @@ @{{ p.user.username }}
via {{ p.app.name }} + %fa:mobile-alt% @@ -399,6 +400,10 @@ export default Vue.extend({ margin-left auto font-size 0.9em + > .mobile + margin-right 8px + color #ccc + > .app margin-right 8px padding-right 8px diff --git a/src/web/app/desktop/views/components/settings.vue b/src/web/app/desktop/views/components/settings.vue index 182a9a1d5e..20d7a77715 100644 --- a/src/web/app/desktop/views/components/settings.vue +++ b/src/web/app/desktop/views/components/settings.vue @@ -26,6 +26,11 @@ +
+

モバイル

+ +
+

言語

@@ -192,6 +197,12 @@ export default Vue.extend({ value: v }); }, + onChangeDisableViaMobile(v) { + (this as any).api('i/update_client_setting', { + name: 'disableViaMobile', + value: v + }); + }, checkForUpdate() { this.checkingForUpdate = true; checkForUpdate((this as any).os, true, true).then(newer => { -- cgit v1.2.3-freya