mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -68,11 +68,11 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
bool alwaysExapndIntroPanel = Pref.alwaysExapndIntroPanel;
|
||||
bool alwaysExpandIntroPanel = Pref.alwaysExpandIntroPanel;
|
||||
expandableCtr = ExpandableController(
|
||||
initialExpanded: alwaysExapndIntroPanel,
|
||||
initialExpanded: alwaysExpandIntroPanel,
|
||||
);
|
||||
if (!alwaysExapndIntroPanel && Pref.exapndIntroPanelH) {
|
||||
if (!alwaysExpandIntroPanel && Pref.expandIntroPanelH) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!expandableCtr.expanded && Get.context!.isLandscape) {
|
||||
expandableCtr.toggle();
|
||||
|
||||
Reference in New Issue
Block a user