From e9107a7f6256d191ce747e074827cf3e784d3f52 Mon Sep 17 00:00:00 2001 From: Flummi Date: Mon, 16 Jun 2025 15:12:28 +0200 Subject: [PATCH] v1.3.1+57 - oops xd --- lib/main.dart | 1 - lib/screens/media_grid.dart | 1 - lib/utils/animatedtransition.dart | 20 +++----------------- pubspec.yaml | 2 +- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 4e9c516..5006bf1 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,3 @@ -import 'package:f0ckapp/screens/settings_screen.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/screens/media_grid.dart b/lib/screens/media_grid.dart index ea6b633..7ca5660 100644 --- a/lib/screens/media_grid.dart +++ b/lib/screens/media_grid.dart @@ -1,4 +1,3 @@ -import 'package:f0ckapp/utils/smartrefreshindicator.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; diff --git a/lib/utils/animatedtransition.dart b/lib/utils/animatedtransition.dart index 10aca63..b79a11c 100644 --- a/lib/utils/animatedtransition.dart +++ b/lib/utils/animatedtransition.dart @@ -18,7 +18,7 @@ Widget buildAnimatedTransition({ switch (controller.transitionType.value) { case PageTransition.opacity: return Opacity( - opacity: Curves.easeOut.transform(1 - value.abs().clamp(0.0, 500.0)), + opacity: Curves.easeOut.transform(1 - value.abs().clamp(0.0, 40.0)), child: Transform(transform: Matrix4.identity(), child: child), ); case PageTransition.scale: @@ -47,19 +47,5 @@ Widget buildAnimatedTransition({ child: child, ); } - /*int blah = 1; - - if (blah == 0) { - return Opacity( - opacity: Curves.easeOut.transform(1 - value.abs().clamp(0.0, 500.0)), - child: Transform(transform: Matrix4.identity(), child: child), - ); - } else { - return Transform.scale( - scale: - 0.8 + - Curves.easeOut.transform(1 - value.abs().clamp(0.0, 1.0)) * 0.2, - child: child, - ); - }*/ - } \ No newline at end of file + } + \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 4c2f142..585c351 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 # 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. -version: 1.3.0+56 +version: 1.3.1+57 environment: sdk: ^3.9.0-100.2.beta