mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-09 04:24:53 +08:00
@@ -38,9 +38,12 @@ class _ReplySearchChildPageState extends State<ReplySearchChildPage>
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
padding: .only(
|
||||
top: 7,
|
||||
bottom: MediaQuery.viewPaddingOf(context).bottom + 100,
|
||||
bottom:
|
||||
MediaQuery.viewPaddingOf(context).bottom +
|
||||
MediaQuery.viewInsetsOf(context).bottom +
|
||||
100,
|
||||
),
|
||||
sliver: Obx(() => _buildBody(_controller.loadingState.value)),
|
||||
),
|
||||
|
||||
@@ -42,7 +42,7 @@ class ReplySearchController extends GetxController
|
||||
submit();
|
||||
}
|
||||
|
||||
void submit() {
|
||||
void submit([_]) {
|
||||
videoCtr
|
||||
..scrollController.jumpToTop()
|
||||
..onReload();
|
||||
|
||||
@@ -62,7 +62,7 @@ class _ReplySearchPageState extends State<ReplySearchPage> {
|
||||
onPressed: _controller.onClear,
|
||||
),
|
||||
),
|
||||
onSubmitted: (value) => _controller.submit(),
|
||||
onSubmitted: _controller.submit,
|
||||
),
|
||||
),
|
||||
body: ViewSafeArea(
|
||||
|
||||
Reference in New Issue
Block a user