Fix disabling Boosts Carousel not working

This commit is contained in:
Lim Chee Aun 2023-01-21 23:36:31 +08:00
parent 6f4a5553ec
commit 952f048913

View file

@ -25,7 +25,7 @@ const states = proxy({
composeCharacterCount: 0, composeCharacterCount: 0,
settings: { settings: {
boostsCarousel: store.local.get('settings:boostsCarousel') boostsCarousel: store.local.get('settings:boostsCarousel')
? store.local.get('settings:boostsCarousel') ? store.local.get('settings:boostsCarousel') === '1'
: true, : true,
}, },
}); });