remove unused code
This commit is contained in:
parent
2779c9c60f
commit
7926738b34
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/scheduler.dart';
|
||||
import '../mih_env/env.dart';
|
||||
import '../mih_router/routeGenerator.dart';
|
||||
import '../mih_theme/mih_theme.dart';
|
||||
|
|
@ -53,8 +52,8 @@ class _MzanziInnovationHubState extends State<MzanziInnovationHub> {
|
|||
@override
|
||||
void initState() {
|
||||
theme = MihTheme();
|
||||
var systemTheme =
|
||||
SchedulerBinding.instance.platformDispatcher.platformBrightness;
|
||||
// var systemTheme =
|
||||
// SchedulerBinding.instance.platformDispatcher.platformBrightness;
|
||||
// bool isDarkMode = systemTheme == Brightness.dark;
|
||||
// if (isDarkMode) {
|
||||
// theme.mode = "Dark";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue