import "package:moxxyv2/shared/preferences.dart";
import "package:moxxyv2/ui/redux/preferences/actions.dart";

PreferencesState preferencesReducer(PreferencesState state, dynamic action) {
  if (action is SetPreferencesAction) {
    return action.preferences;
  }

  return state;
}
