mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 00:21:19 +00:00
Use service background color
This commit is contained in:
parent
ba70827448
commit
5a6624531f
@ -16,7 +16,6 @@ import 'package:tablet_app/Screens/Web/web_view.dart';
|
||||
import 'package:tablet_app/app_context.dart';
|
||||
import 'package:tablet_app/constants.dart';
|
||||
import 'package:auto_size_text/auto_size_text.dart';
|
||||
import 'dart:io';
|
||||
|
||||
import 'language_selection.dart';
|
||||
|
||||
@ -179,7 +178,7 @@ class _MainViewWidget extends State<MainViewWidget> {
|
||||
body: Container(
|
||||
height: size.height,
|
||||
width: size.width,
|
||||
color: kBackgroundGrey,
|
||||
color: appContext.getContext().configuration == null ? kBackgroundGrey : appContext.getContext().configuration.secondaryColor != null ? new Color(int.parse(appContext.getContext().configuration.secondaryColor.split('(0x')[1].split(')')[0], radix: 16)): kBackgroundGrey,
|
||||
child: Stack(
|
||||
children: [
|
||||
if (appContext.getContext().configuration != null) LanguageSelection(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user