Skip to content

Commit

Permalink
enhance(frontend): データセーバー有効時はGIFアバターを停止 (misskey-dev#12165)
Browse files Browse the repository at this point in the history
* (enhance) データセーバーモード有効時はGIFアバターを停止

* Update Changelog

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <[email protected]>
  • Loading branch information
2 people authored and kanarikanaru committed Nov 2, 2023
1 parent 5b8e124 commit 8cdc1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/global/MkAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const bound = $computed(() => props.link
? { to: userPage(props.user), target: props.target }
: {});

const url = $computed(() => defaultStore.state.disableShowingAnimatedImages
const url = $computed(() => (defaultStore.state.disableShowingAnimatedImages || defaultStore.state.enableDataSaverMode)
? getStaticImageUrl(props.user.avatarUrl)
: props.user.avatarUrl);

Expand Down

0 comments on commit 8cdc1ae

Please sign in to comment.