diff --git a/b0esche_cloud/lib/pages/public_file_viewer.dart b/b0esche_cloud/lib/pages/public_file_viewer.dart index 6e0c70f..8726556 100644 --- a/b0esche_cloud/lib/pages/public_file_viewer.dart +++ b/b0esche_cloud/lib/pages/public_file_viewer.dart @@ -229,6 +229,17 @@ class _PublicFileViewerState extends State { actions: [ IconButton( icon: const Icon(Icons.close, color: AppTheme.primaryText), + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + overlayColor: WidgetStateProperty.resolveWith(( + Set states, + ) { + if (states.contains(WidgetState.pressed)) { + return Colors.transparent; + } + return null; + }), + ), onPressed: () => context.go('/'), ), ],