mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-27 13:55:54 +08:00
@@ -73,6 +73,7 @@ class AudioController extends GetxController
|
||||
|
||||
String? _prev;
|
||||
String? _next;
|
||||
bool get reachStart => _prev == null;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
|
||||
@@ -179,9 +179,11 @@ class _AudioPageState extends State<AudioPage> {
|
||||
onRefresh: () => _controller.loadPrev(context),
|
||||
child: CustomScrollView(
|
||||
controller: scrollController,
|
||||
physics: const AlwaysScrollableScrollPhysics(
|
||||
parent: ClampingScrollPhysics(),
|
||||
),
|
||||
physics: _controller.reachStart
|
||||
? const ClampingScrollPhysics()
|
||||
: const AlwaysScrollableScrollPhysics(
|
||||
parent: ClampingScrollPhysics(),
|
||||
),
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
|
||||
Reference in New Issue
Block a user