From 9cc1edad23b04e4a2592a15814d4f8f294ca9732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20M=C3=BCller?= <elias@elias-mueller.com> Date: Mon, 18 Sep 2023 20:47:01 +0200 Subject: [PATCH] Fixed roomplan not using right background from theme --- lib/view/pages/more/roomplan/roomplan.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/view/pages/more/roomplan/roomplan.dart b/lib/view/pages/more/roomplan/roomplan.dart index 25d3fc2..8871371 100644 --- a/lib/view/pages/more/roomplan/roomplan.dart +++ b/lib/view/pages/more/roomplan/roomplan.dart @@ -10,13 +10,12 @@ class Roomplan extends StatelessWidget { appBar: AppBar( title: const Text("Raumplan"), ), - backgroundColor: Colors.white, body: PhotoView( imageProvider: Image.asset("assets/img/raumplan.jpg").image, minScale: 0.5, maxScale: 2.0, - backgroundDecoration: BoxDecoration(color: Theme.of(context).colorScheme.surface), - ) + backgroundDecoration: BoxDecoration(color: Theme.of(context).colorScheme.background), + ), ); } }