mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-31 09:35:16 +01:00
refs #98 Set color from theme color in favouruites
This commit is contained in:
parent
5144eaa52d
commit
649a5b1720
@ -3,7 +3,7 @@
|
|||||||
<div class="fav" v-for="message in favourites" v-bind:key="message.id">
|
<div class="fav" v-for="message in favourites" v-bind:key="message.id">
|
||||||
<toot :message="message" v-on:update="updateToot"></toot>
|
<toot :message="message" v-on:update="updateToot"></toot>
|
||||||
</div>
|
</div>
|
||||||
<div class="loading-card" v-loading="lazyLoading">
|
<div class="loading-card" v-loading="lazyLoading" :element-loading-background="backgroundColor">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -19,7 +19,8 @@ export default {
|
|||||||
...mapState({
|
...mapState({
|
||||||
account: state => state.TimelineSpace.account,
|
account: state => state.TimelineSpace.account,
|
||||||
favourites: state => state.TimelineSpace.Contents.Favourites.favourites,
|
favourites: state => state.TimelineSpace.Contents.Favourites.favourites,
|
||||||
lazyLoading: state => state.TimelineSpace.Contents.Favourites.lazyLoading
|
lazyLoading: state => state.TimelineSpace.Contents.Favourites.lazyLoading,
|
||||||
|
backgroundColor: state => state.App.theme.background_color
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user