diff --git a/b0esche_cloud/lib/pages/document_viewer.dart b/b0esche_cloud/lib/pages/document_viewer.dart index aa6f9c6..6f9a0e9 100644 --- a/b0esche_cloud/lib/pages/document_viewer.dart +++ b/b0esche_cloud/lib/pages/document_viewer.dart @@ -532,7 +532,7 @@ class _DocumentViewerModalState extends State { context: context, builder: (BuildContext context) { return Dialog( - backgroundColor: Colors.transparent, + backgroundColor: AppTheme.primaryBackground.withValues(alpha: 0.65), child: ConstrainedBox( constraints: const BoxConstraints(maxWidth: 400), child: Container( @@ -551,7 +551,7 @@ class _DocumentViewerModalState extends State { ), const SizedBox(height: 16), Text( - 'Do you want to open this link in your browser?\n\n$url', + 'Open this link in your browser?\n\n$url', style: const TextStyle(color: AppTheme.primaryText), textAlign: TextAlign.center, ), @@ -560,13 +560,19 @@ class _DocumentViewerModalState extends State { mainAxisAlignment: MainAxisAlignment.end, children: [ TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(false), child: const Text( 'Cancel', - style: TextStyle(color: AppTheme.primaryText), + style: TextStyle(color: Colors.red), ), ), TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(true), child: const Text( 'Open', @@ -996,6 +1002,9 @@ class _DocumentViewerState extends State { mainAxisAlignment: MainAxisAlignment.end, children: [ TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(false), child: const Text( 'Cancel', @@ -1003,6 +1012,9 @@ class _DocumentViewerState extends State { ), ), TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(true), child: const Text( 'Open', diff --git a/b0esche_cloud/lib/pages/file_explorer.dart b/b0esche_cloud/lib/pages/file_explorer.dart index 4aba7c3..f5cead9 100644 --- a/b0esche_cloud/lib/pages/file_explorer.dart +++ b/b0esche_cloud/lib/pages/file_explorer.dart @@ -222,6 +222,9 @@ class _FileExplorerState extends State { mainAxisAlignment: MainAxisAlignment.end, children: [ TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(), child: const Text( 'Cancel', @@ -229,6 +232,9 @@ class _FileExplorerState extends State { ), ), TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () { final folderName = controller.text.trim(); if (folderName.isNotEmpty) { @@ -329,6 +335,9 @@ class _FileExplorerState extends State { mainAxisAlignment: MainAxisAlignment.end, children: [ TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(), child: const Text( 'Cancel', @@ -336,6 +345,9 @@ class _FileExplorerState extends State { ), ), TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () { final docName = controller.text.trim(); if (docName.isNotEmpty) { @@ -521,6 +533,9 @@ class _FileExplorerState extends State { mainAxisAlignment: MainAxisAlignment.end, children: [ TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(), child: const Text( 'Cancel', @@ -528,6 +543,9 @@ class _FileExplorerState extends State { ), ), TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () { final newName = controller.text.trim(); if (newName.isNotEmpty && newName != file.name) { @@ -739,6 +757,9 @@ class _FileExplorerState extends State { mainAxisAlignment: MainAxisAlignment.end, children: [ TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(false), child: const Text( 'Cancel', @@ -746,6 +767,9 @@ class _FileExplorerState extends State { ), ), TextButton( + style: ButtonStyle( + splashFactory: NoSplash.splashFactory, + ), onPressed: () => Navigator.of(context).pop(true), child: const Text( 'Delete', @@ -1405,6 +1429,7 @@ class _FileExplorerState extends State { children: state.breadcrumbs.map((breadcrumb) { return TextButton( style: TextButton.styleFrom( + splashFactory: NoSplash.splashFactory, padding: EdgeInsets.zero, minimumSize: Size.zero, tapTargetSize: