pitaya-launcher/src/store/reducers/theme.js

15 lines
236 B
JavaScript
Raw Normal View History

2015-09-16 17:26:56 +02:00
var actions = require('../actions');
module.exports = function(currentTheme, action) {
switch(action.type) {
case actions.edit.USE_ICON_THEME:
return action.theme;
default:
return currentTheme || null;
}
};