High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(mobile): remove background from asset viewer back button (#26851)
Thomas471c27cd33ad
diff --git a/mobile/lib/presentation/widgets/asset_viewer/viewer_top_app_bar.widget.dart b/mobile/lib/presentation/widgets/asset_viewer/viewer_top_app_bar.widget.dartindex 397cd98ace..ae7dd85396 100644--- a/mobile/lib/presentation/widgets/asset_viewer/viewer_top_app_bar.widget.dart+++ b/mobile/lib/presentation/widgets/asset_viewer/viewer_top_app_bar.widget.dart@@ -113,17 +113,14 @@ class _AppBarBackButton extends ConsumerWidget {@overrideWidget build(BuildContext context, WidgetRef ref) {final showingDetails = ref.watch(assetViewerProvider.select((state) => state.showingDetails));- final backgroundColor = showingDetails && !context.isDarkTheme ? Colors.white : Colors.black;- final foregroundColor = showingDetails && !context.isDarkTheme ? Colors.black : Colors.white;-return Padding(padding: const EdgeInsets.only(left: 12.0),child: ElevatedButton(style: ElevatedButton.styleFrom(- backgroundColor: backgroundColor,+ backgroundColor: showingDetails ? context.colorScheme.surface : Colors.transparent,shape: const CircleBorder(),iconSize: 22,- iconColor: foregroundColor,+ iconColor: showingDetails ? context.colorScheme.onSurface : Colors.white,padding: EdgeInsets.zero,elevation: showingDetails ? 4 : 0,),