forked from yaso_meth/mih-project
remove unused code
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user