diff --git a/src/client/app/common/views/components/avatar.vue b/src/client/app/common/views/components/avatar.vue
index 7f6a555ad0..13334daeba 100644
--- a/src/client/app/common/views/components/avatar.vue
+++ b/src/client/app/common/views/components/avatar.vue
@@ -1,14 +1,14 @@
-
+
-
+
-
+
-
+
@@ -41,17 +41,14 @@ export default Vue.extend({
cat(): boolean {
return this.user.isCat && this.$store.state.settings.circleIcons;
},
- white():boolean {
- return this.$store.state.device.darkmode;
- },
style(): any {
return {
backgroundColor: this.lightmode
- ? `rgb(${ this.user.avatarColor.slice(0, 3).join(',') })`
+ ? `rgb(${this.user.avatarColor.slice(0, 3).join(',')})`
: this.user.avatarColor && this.user.avatarColor.length == 3
- ? `rgb(${ this.user.avatarColor.join(',') })`
+ ? `rgb(${this.user.avatarColor.join(',')})`
: null,
- backgroundImage: this.lightmode ? null : `url(${ this.user.avatarUrl })`,
+ backgroundImage: this.lightmode ? null : `url(${this.user.avatarUrl})`,
borderRadius: this.$store.state.settings.circleIcons ? '100%' : null
};
}
@@ -65,23 +62,21 @@ export default Vue.extend({