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

- blah
This commit is contained in:
Flummi 2025-06-08 19:40:06 +02:00
parent 346e447d5e
commit 93fb3536ee
3 changed files with 15 additions and 4 deletions

View File

@ -36,7 +36,7 @@
<category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https" android:host="f0ck.me"/> <data android:scheme="https" android:host="f0ck.me"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW"/> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.BROWSABLE"/>

View File

@ -1,7 +1,9 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:f0ckapp/providers/MediaProvider.dart'; import 'package:f0ckapp/providers/MediaProvider.dart';
import 'package:f0ckapp/screens/DetailView.dart'; import 'package:f0ckapp/screens/DetailView.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
Map<String, RegExp> routes = { Map<String, RegExp> routes = {
//'login': RegExp(r'^/login/?$'), //'login': RegExp(r'^/login/?$'),
@ -49,7 +51,11 @@ Future<void> handleComplexDeepLink(
const validMediaTypes = {'audio', 'video', 'image'}; const validMediaTypes = {'audio', 'video', 'image'};
if (media != null && validMediaTypes.contains(media)) { if (media != null && validMediaTypes.contains(media)) {
ref.read(mediaProvider.notifier).setType(media); ref.read(mediaProvider.notifier).setType(media);
} else {
ref.read(mediaProvider.notifier).setType('alles');
} }
ref.read(mediaProvider.notifier).setMode(0); // wip
ref.read(mediaProvider.notifier).setTag(null);
final idParam = params['id']; final idParam = params['id'];
if (idParam == null || idParam.isEmpty) return; if (idParam == null || idParam.isEmpty) return;
@ -81,3 +87,8 @@ Future<void> handleComplexDeepLink(
scrollController.jumpTo(0); scrollController.jumpTo(0);
} }
} }
/*
type: mediaTypes[state.typeIndex],
mode: state.modeIndex,
random: state.random,
tag: state.tag,*/

View File

@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 1.1.7+37 version: 1.1.8+38
environment: environment:
sdk: ^3.9.0-100.2.beta sdk: ^3.9.0-100.2.beta