mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-06 02:30:12 +08:00
@@ -86,8 +86,7 @@ class _DynMentionPanelState
|
|||||||
final theme = Theme.of(context);
|
final theme = Theme.of(context);
|
||||||
final padding = MediaQuery.paddingOf(context).bottom;
|
final padding = MediaQuery.paddingOf(context).bottom;
|
||||||
final viewInset = MediaQuery.viewInsetsOf(context).bottom;
|
final viewInset = MediaQuery.viewInsetsOf(context).bottom;
|
||||||
return SimpleScaffold(
|
return Column(
|
||||||
body: Column(
|
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 35,
|
height: 35,
|
||||||
@@ -150,10 +149,9 @@ class _DynMentionPanelState
|
|||||||
..enableClear.value = false
|
..enableClear.value = false
|
||||||
..controller.clear()
|
..controller.clear()
|
||||||
..onRefresh().whenComplete(
|
..onRefresh().whenComplete(
|
||||||
() => WidgetsBinding.instance
|
() =>
|
||||||
.addPostFrameCallback(
|
WidgetsBinding.instance.addPostFrameCallback(
|
||||||
(_) =>
|
(_) => widget.scrollController?.jumpToTop(),
|
||||||
widget.scrollController?.jumpToTop(),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -168,7 +166,8 @@ class _DynMentionPanelState
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: NotificationListener<ScrollNotification>(
|
child: SimpleScaffold(
|
||||||
|
body: NotificationListener<ScrollNotification>(
|
||||||
onNotification: (notification) {
|
onNotification: (notification) {
|
||||||
if (notification is UserScrollNotification) {
|
if (notification is UserScrollNotification) {
|
||||||
if (_controller.focusNode.hasFocus) {
|
if (_controller.focusNode.hasFocus) {
|
||||||
@@ -191,9 +190,6 @@ class _DynMentionPanelState
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
fab: Obx(() {
|
fab: Obx(() {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: .only(
|
padding: .only(
|
||||||
@@ -222,6 +218,9 @@ class _DynMentionPanelState
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,8 @@ class _NoteListPageState extends State<NoteListPage>
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget buildPage(ThemeData theme) {
|
Widget buildPage(ThemeData theme) {
|
||||||
return MiniScaffold(
|
return Material(
|
||||||
|
child: MiniScaffold(
|
||||||
body: Column(
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@@ -89,6 +90,7 @@ class _NoteListPageState extends State<NoteListPage>
|
|||||||
Expanded(child: enableSlide ? slideList(theme) : buildList(theme)),
|
Expanded(child: enableSlide ? slideList(theme) : buildList(theme)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user