profile Picture fix
This commit is contained in:
parent
5d67e2549f
commit
4fc7f31943
3 changed files with 42 additions and 59 deletions
|
|
@ -164,6 +164,19 @@ class MyTheme {
|
|||
return loading;
|
||||
}
|
||||
|
||||
AssetImage altLoadingImage() {
|
||||
if (mode == "Dark") {
|
||||
loading = const AssetImage(
|
||||
'images/loading_dark.gif',
|
||||
);
|
||||
} else {
|
||||
loading = const AssetImage(
|
||||
'images/loading_light.gif',
|
||||
);
|
||||
}
|
||||
return loading;
|
||||
}
|
||||
|
||||
Color primaryColor() {
|
||||
if (mode == "Dark") {
|
||||
_mainColor = 0XFF3A4454;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue