mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
opt: escape performReassemble (#1864)
This commit is contained in:
committed by
GitHub
parent
96f9972895
commit
aee4424dbf
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user