change getter logic for dark theme

This commit is contained in:
Gamebrary 2021-02-21 11:13:25 -07:00
parent 55bb2cf95a
commit 3b883d1609

View file

@ -2,7 +2,7 @@
import orderby from 'lodash.orderby';
export default {
nightMode: state => Boolean(state.settings && state.settings.nightMode),
nightMode: ({ settings }) => settings && settings.theme && settings.theme === 'dark',
sortedBoards: ({ boards }) => orderby(boards, 'name'),
filteredPlatforms: (state) => {