v1.0.24+24
- tags lul
This commit is contained in:
@ -8,12 +8,14 @@ Future<List<MediaItem>> fetchMedia({
|
||||
String? type,
|
||||
int? mode,
|
||||
bool? random,
|
||||
String? tag,
|
||||
}) async {
|
||||
final Uri url = Uri.parse('https://api.f0ck.me/items/get').replace(
|
||||
queryParameters: {
|
||||
'type': type ?? 'image',
|
||||
'mode': (mode ?? 0).toString(),
|
||||
'random': (random! ? 1 : 0).toString(),
|
||||
if (tag != null) 'tag': tag,
|
||||
if (older != null) 'older': older,
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user