v1.4.8+69
All checks were successful
Flutter Schmutter / build (push) Successful in 3m39s

This commit is contained in:
2025-06-24 03:02:39 +02:00
parent 39fadc009f
commit ba7505c2b3
4 changed files with 144 additions and 85 deletions

View File

@ -5,9 +5,7 @@ import 'package:get/get.dart';
import 'package:f0ckapp/controller/mediacontroller.dart';
class FilterBar extends StatelessWidget {
final ScrollController scrollController;
const FilterBar({super.key, required this.scrollController});
const FilterBar({super.key});
@override
Widget build(BuildContext context) {
@ -32,7 +30,6 @@ class FilterBar extends StatelessWidget {
onChanged: (String? newValue) {
if (newValue != null) {
c.setTypeIndex(mediaTypes.indexOf(newValue));
scrollController.jumpTo(0);
}
},
),
@ -51,7 +48,6 @@ class FilterBar extends StatelessWidget {
onChanged: (String? newValue) {
if (newValue != null) {
c.setModeIndex(mediaModes.indexOf(newValue));
scrollController.jumpTo(0);
}
},
),