mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
@@ -31,6 +31,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
|
||||
Widget build(BuildContext context) {
|
||||
super.build(context);
|
||||
final theme = Theme.of(context);
|
||||
final padding = MediaQuery.paddingOf(context);
|
||||
return LayoutBuilder(
|
||||
builder: (context, constraints) => Stack(
|
||||
clipBehavior: Clip.none,
|
||||
@@ -42,9 +43,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.paddingOf(context).bottom + 80,
|
||||
),
|
||||
padding: EdgeInsets.only(bottom: padding.bottom + 80),
|
||||
sliver: Obx(
|
||||
() => _buildBody(_favNoteController.loadingState.value),
|
||||
),
|
||||
@@ -63,7 +62,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
|
||||
: Offset.zero,
|
||||
duration: const Duration(milliseconds: 150),
|
||||
child: Container(
|
||||
padding: MediaQuery.paddingOf(context),
|
||||
padding: padding,
|
||||
decoration: BoxDecoration(
|
||||
color: theme.colorScheme.onInverseSurface,
|
||||
border: Border(
|
||||
|
||||
@@ -36,6 +36,7 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
|
||||
Widget build(BuildContext context) {
|
||||
super.build(context);
|
||||
final theme = Theme.of(context);
|
||||
final padding = MediaQuery.paddingOf(context);
|
||||
return LayoutBuilder(
|
||||
builder: (context, constraints) => Stack(
|
||||
clipBehavior: Clip.none,
|
||||
@@ -47,9 +48,7 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.paddingOf(context).bottom + 80,
|
||||
),
|
||||
padding: EdgeInsets.only(bottom: padding.bottom + 80),
|
||||
sliver: Obx(
|
||||
() => _buildBody(_favPgcController.loadingState.value),
|
||||
),
|
||||
@@ -68,7 +67,7 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
|
||||
: Offset.zero,
|
||||
duration: const Duration(milliseconds: 150),
|
||||
child: Container(
|
||||
padding: MediaQuery.paddingOf(context),
|
||||
padding: padding,
|
||||
decoration: BoxDecoration(
|
||||
color: theme.colorScheme.onInverseSurface,
|
||||
border: Border(
|
||||
|
||||
Reference in New Issue
Block a user