theme switching & add AI logo to theme
This commit is contained in:
parent
6dee21aca5
commit
14c901f22e
2 changed files with 16 additions and 0 deletions
|
|
@ -43,6 +43,10 @@ class _MzanziInnovationHubState extends State<MzanziInnovationHub> {
|
|||
setState(() {
|
||||
theme.mode = "Light";
|
||||
});
|
||||
} else if (_themeMode == ThemeMode.dark) {
|
||||
setState(() {
|
||||
theme.mode = "Dark";
|
||||
});
|
||||
} else {
|
||||
setState(() {
|
||||
theme.mode = "Dark";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue