Fixed roomplan not using right background from theme
This commit is contained in:
parent
132775e1bf
commit
9cc1edad23
@ -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),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user