This commit is contained in:
@ -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);
|
||||
}
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user