Enable Boosts Carousel by default

Fix the logic here
This commit is contained in:
Lim Chee Aun 2023-01-17 10:06:19 +08:00
parent 8834c03d7a
commit e382cad22a

View file

@ -24,7 +24,9 @@ const states = proxy({
showDrafts: false,
composeCharacterCount: 0,
settings: {
boostsCarousel: store.local.get('settings:boostsCarousel') === '1' ?? true,
boostsCarousel: store.local.get('settings:boostsCarousel')
? store.local.get('settings:boostsCarousel')
: true,
},
});
export default states;