This commit is contained in:
2026-07-12 04:33:48 +08:00
parent f8a90ad305
commit e7ce0f7bae
151 changed files with 2765 additions and 2947 deletions

View File

@@ -2,10 +2,10 @@ import 'package:flutter/material.dart';
import 'package:flutter_wisetronic/store/actions.dart';
import 'package:redux/redux.dart';
final localeReducer = combineReducers<Locale>([
TypedReducer<Locale, UpdateLocale>(_updateLocale)
final localeReducer = combineReducers<Locale?>([
TypedReducer<Locale?, UpdateLocale>(_updateLocale)
]);
Locale _updateLocale(Locale locale, action) {
Locale _updateLocale(Locale? locale, action) {
return action.locale;
}