From 43c42ac0d5313fdd73a79e17e242d9c67e57dca1 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 7 Jun 2025 16:52:30 +0200 Subject: [PATCH] v1.1.4+34 --- lib/screens/DetailView.dart | 20 +++++++++---------- lib/screens/MediaGrid.dart | 38 ++++++++++++++++++++++--------------- pubspec.yaml | 2 +- 3 files changed, 34 insertions(+), 26 deletions(-) diff --git a/lib/screens/DetailView.dart b/lib/screens/DetailView.dart index cf6fd8e..39ffebe 100644 --- a/lib/screens/DetailView.dart +++ b/lib/screens/DetailView.dart @@ -149,14 +149,14 @@ class _DetailViewState extends ConsumerState { value: 'direct_link', child: ListTile( leading: const Icon(Icons.link), - title: const Text('Link zum Bild'), + title: const Text('Link zur Datei'), ), ), PopupMenuItem( value: 'post_link', child: ListTile( leading: const Icon(Icons.article), - title: const Text('Link zum Post'), + title: const Text('Link zum f0ck'), ), ), ], @@ -182,14 +182,14 @@ class _DetailViewState extends ConsumerState { ), persistentFooterButtons: mediaState.tag != null ? [ - InputChip( - label: Text(mediaState.tag!), - //backgroundColor: const Color(0xFF090909), - //labelStyle: const TextStyle(color: Colors.white), - onDeleted: () { - mediaNotifier.setTag(null); - Navigator.pop(context); - }, + Center( + child: InputChip( + label: Text(mediaState.tag!), + onDeleted: () { + mediaNotifier.setTag(null); + Navigator.pop(context); + }, + ), ), ] : null, diff --git a/lib/screens/MediaGrid.dart b/lib/screens/MediaGrid.dart index fa26f39..ea5ba9f 100644 --- a/lib/screens/MediaGrid.dart +++ b/lib/screens/MediaGrid.dart @@ -61,15 +61,21 @@ class _MediaGridState extends ConsumerState { return Scaffold( key: _scaffoldKey, appBar: AppBar( - title: Row( - spacing: 15, - children: [ - Image.asset('assets/images/f0ck_small.webp', fit: BoxFit.fitHeight), - Text( - 'fApp', - style: TextStyle(fontSize: 24), - ), - ], + title: GestureDetector( + child: Row( + spacing: 10, + children: [ + Image.asset( + 'assets/images/f0ck_small.webp', + fit: BoxFit.fitHeight, + ), + Text('fApp', style: TextStyle(fontSize: 24)), + ], + ), + onTap: () { + mediaNotifier.setTag(null); + _scrollController.jumpTo(0); + }, ), actions: [ IconButton( @@ -236,12 +242,14 @@ class _MediaGridState extends ConsumerState { ), persistentFooterButtons: mediaState.tag != null ? [ - InputChip( - label: Text(mediaState.tag!), - onDeleted: () { - mediaNotifier.setTag(null); - _scrollController.jumpTo(0); - }, + Center( + child: InputChip( + label: Text(mediaState.tag!), + onDeleted: () { + mediaNotifier.setTag(null); + _scrollController.jumpTo(0); + }, + ), ), ] : null, diff --git a/pubspec.yaml b/pubspec.yaml index 28a1d94..642d065 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.1.3+33 +version: 1.1.4+34 environment: sdk: ^3.9.0-100.2.beta