summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-05 04:09:44 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-05 04:09:44 +0900
commitdd39d6ea37443512a6c62c3e5fcbeb75ddf557a8 (patch)
tree7e264e7d97b5b40d94639a9229b4924e3680e21c /src/client/app/common
parent[Client] Increase font size a little in the Deck view (diff)
downloadmisskey-dd39d6ea37443512a6c62c3e5fcbeb75ddf557a8.tar.gz
misskey-dd39d6ea37443512a6c62c3e5fcbeb75ddf557a8.tar.bz2
misskey-dd39d6ea37443512a6c62c3e5fcbeb75ddf557a8.zip
Better key name
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/avatar.vue2
-rw-r--r--src/client/app/common/views/components/emoji.vue2
-rw-r--r--src/client/app/common/views/components/media-image.vue2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/common/views/components/avatar.vue b/src/client/app/common/views/components/avatar.vue
index 205b4a6d79..0c6cd7048c 100644
--- a/src/client/app/common/views/components/avatar.vue
+++ b/src/client/app/common/views/components/avatar.vue
@@ -49,7 +49,7 @@ export default Vue.extend({
};
},
url(): string {
- return this.$store.state.device.doNotAutoplayAnimation
+ return this.$store.state.device.disableShowingAnimatedImages
? getStaticImageUrl(this.user.avatarUrl)
: this.user.avatarUrl;
},
diff --git a/src/client/app/common/views/components/emoji.vue b/src/client/app/common/views/components/emoji.vue
index b791dcab6a..b4618a8d85 100644
--- a/src/client/app/common/views/components/emoji.vue
+++ b/src/client/app/common/views/components/emoji.vue
@@ -55,7 +55,7 @@ export default Vue.extend({
const customEmoji = this.customEmojis.find(x => x.name == this.name);
if (customEmoji) {
this.customEmoji = customEmoji;
- this.url = this.$store.state.device.doNotAutoplayAnimation
+ this.url = this.$store.state.device.disableShowingAnimatedImages
? getStaticImageUrl(customEmoji.url)
: customEmoji.url;
} else {
diff --git a/src/client/app/common/views/components/media-image.vue b/src/client/app/common/views/components/media-image.vue
index 4433ec2afc..4a99b953ef 100644
--- a/src/client/app/common/views/components/media-image.vue
+++ b/src/client/app/common/views/components/media-image.vue
@@ -38,7 +38,7 @@ export default Vue.extend({
computed: {
style(): any {
let url = `url(${
- this.$store.state.device.doNotAutoplayAnimation
+ this.$store.state.device.disableShowingAnimatedImages
? getStaticImageUrl(this.image.thumbnailUrl)
: this.image.thumbnailUrl
})`;