v1.4.0+61
All checks were successful
Flutter Schmutter / build (push) Successful in 3m48s

This commit is contained in:
2025-06-19 21:45:00 +02:00
parent 0d792fdf46
commit 2b5aaad331
30 changed files with 1073 additions and 1113 deletions

View File

@ -1,13 +1,13 @@
import 'dart:async';
import 'dart:convert';
import 'package:f0ckapp/controller/media_controller.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:http/http.dart' as http;
import 'package:f0ckapp/models/suggestion_model.dart';
import 'package:f0ckapp/controller/mediacontroller.dart';
import 'package:f0ckapp/models/suggestion.dart';
class CustomSearchDelegate extends SearchDelegate<String> {
final MediaController controller = Get.find<MediaController>();
@ -144,8 +144,8 @@ class CustomSearchDelegate extends SearchDelegate<String> {
'Getaggt: ${suggestion.tagged}x • Score: ${suggestion.score.toStringAsFixed(2)}',
style: TextStyle(fontSize: 12),
),
onTap: () async {
await controller.setTag(suggestion.tag);
onTap: () {
controller.setTag(suggestion.tag);
close(context, suggestion.tag);
},
);