From 1c1606d61d06bff6a686489bc7fba97ef67bd3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Sun, 25 Jan 2026 16:32:32 +0100 Subject: [PATCH] Remove duplicate file info header in public file viewer --- .../lib/pages/public_file_viewer.dart | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/b0esche_cloud/lib/pages/public_file_viewer.dart b/b0esche_cloud/lib/pages/public_file_viewer.dart index a96a34f..6f36661 100644 --- a/b0esche_cloud/lib/pages/public_file_viewer.dart +++ b/b0esche_cloud/lib/pages/public_file_viewer.dart @@ -382,35 +382,6 @@ class _PublicFileViewerState extends State { : _fileData != null ? Column( children: [ - // File info bar - Container( - padding: const EdgeInsets.symmetric( - horizontal: 16, - vertical: 8, - ), - color: AppTheme.primaryBackground.withValues(alpha: 0.8), - child: Row( - children: [ - Expanded( - child: Text( - _fileData!['fileName'] ?? 'Unknown file', - style: TextStyle( - color: AppTheme.primaryText, - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ), - Text( - '${(_fileData!['fileSize'] ?? 0) ~/ 1024} KB', - style: TextStyle( - color: AppTheme.secondaryText, - fontSize: 14, - ), - ), - ], - ), - ), // File content Expanded(child: _buildFilePreview()), // Video controls (if video)