feat: Disable swipe on calendar view
This commit is contained in:
@@ -103,6 +103,7 @@ class CalendarPageState extends State<CalendarPage> {
|
||||
itemBuilder: (context, index) {
|
||||
final anime = data[day]![index];
|
||||
return GridItem(
|
||||
enableDrag: false,
|
||||
child: AnimeCoverImage(
|
||||
url: anime.thumbnailUrl,
|
||||
hero: 'calendar_${anime.id}',
|
||||
@@ -191,7 +192,11 @@ class CalendarPageState extends State<CalendarPage> {
|
||||
],
|
||||
),
|
||||
drawer: getDrawer(context),
|
||||
body: CustomScrollView(
|
||||
body: Padding(
|
||||
padding: const EdgeInsetsGeometry.symmetric(
|
||||
horizontal: 12,
|
||||
),
|
||||
child: CustomScrollView(
|
||||
slivers: [
|
||||
// Render all available weekdays
|
||||
..._renderWeekdayList(
|
||||
@@ -246,6 +251,7 @@ class CalendarPageState extends State<CalendarPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
left: 0,
|
||||
right: 0,
|
||||
|
||||
Reference in New Issue
Block a user