- Updated import paths across multiple files to reflect the new package name. - Changed application name and identifiers in CMakeLists.txt, Runner.rc, and other configuration files. - Modified web index.html and manifest.json to update the app title and name. - Adjusted macOS and Windows project settings to align with the new application name. - Ensured consistency in naming across all relevant files and directories.
20 lines
517 B
Dart
20 lines
517 B
Dart
import 'package:get/get_state_manager/get_state_manager.dart';
|
|
import 'package:on_field_work/helpers/theme/theme_customizer.dart';
|
|
|
|
abstract class MyController extends GetxController {
|
|
@override
|
|
void onInit() {
|
|
super.onInit();
|
|
ThemeCustomizer.addListener((old, newVal) {
|
|
if (old.theme != newVal.theme ||
|
|
(old.currentLanguage.languageName !=
|
|
newVal.currentLanguage.languageName)) {
|
|
update();
|
|
onThemeChanged();
|
|
}
|
|
});
|
|
}
|
|
|
|
void onThemeChanged() {}
|
|
}
|