HOTFIX Thread Detail blank content open notification email
This commit is contained in:
@@ -98,10 +98,26 @@ class ThreadDetailView extends GetWidget<ThreadDetailController> {
|
||||
);
|
||||
}),
|
||||
Obx(() {
|
||||
final nonPageViewThread = Expanded(
|
||||
child: Container(
|
||||
color: Colors.white,
|
||||
padding: _padding(context),
|
||||
child: SingleChildScrollView(
|
||||
controller: controller.scrollController,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: controller.getThreadDetailEmailViews()
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
if (PlatformInfo.isMobile) {
|
||||
final manager = controller.threadDetailManager;
|
||||
final currentIndex = manager.currentMobilePageViewIndex.value;
|
||||
|
||||
if (currentIndex == -1) return nonPageViewThread;
|
||||
|
||||
return Expanded(
|
||||
child: PageView.builder(
|
||||
controller: manager.pageController,
|
||||
@@ -125,25 +141,7 @@ class ThreadDetailView extends GetWidget<ThreadDetailController> {
|
||||
);
|
||||
}
|
||||
|
||||
return Expanded(
|
||||
child: Padding(
|
||||
padding: _padding(context),
|
||||
child: Stack(
|
||||
children: [
|
||||
const Positioned.fill(
|
||||
child: ColoredBox(color: Colors.white),
|
||||
),
|
||||
SingleChildScrollView(
|
||||
controller: controller.scrollController,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: controller.getThreadDetailEmailViews()
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
return nonPageViewThread;
|
||||
}),
|
||||
Obx(() {
|
||||
final expandedEmailId = controller.currentExpandedEmailId.value;
|
||||
|
||||
Reference in New Issue
Block a user