opt: escape performReassemble (#1864)

This commit is contained in:
My-Responsitories
2026-03-13 18:38:37 +08:00
committed by GitHub
parent 96f9972895
commit aee4424dbf
6 changed files with 69 additions and 65 deletions

View File

@@ -1,6 +1,15 @@
import 'package:PiliPlus/main.dart';
import 'package:get/get.dart';
extension GetExt on GetInterface {
S putOrFind<S>(InstanceBuilderCallback<S> dep, {String? tag}) =>
GetInstance().putOrFind(dep, tag: tag);
void updateMyAppTheme() {
final (l, d) = MyApp.getAllTheme();
rootController
..theme = l
..darkTheme = d
..update();
}
}