refactor: Update API base URL and change default color theme to green
This commit is contained in:
parent
6568dc70c8
commit
8dbd21df8b
@ -1,6 +1,7 @@
|
||||
class ApiEndpoints {
|
||||
// static const String baseUrl = "https://mapi.marcoaiot.com/api";
|
||||
static const String baseUrl = "https://ofwapi.marcoaiot.com/api";
|
||||
// static const String baseUrl = "https://ofwapi.marcoaiot.com/api";
|
||||
static const String baseUrl = "https://api.onfieldwork.com/api";
|
||||
// static const String baseUrl = "https://api.marcoaiot.com/api";
|
||||
// static const String baseUrl = "https://devapi.marcoaiot.com/api";
|
||||
|
||||
|
||||
@ -266,7 +266,7 @@ class AdminTheme {
|
||||
leftBarTheme: LeftBarTheme.lightLeftBarTheme,
|
||||
topBarTheme: TopBarTheme.lightTopBarTheme,
|
||||
rightBarTheme: RightBarTheme.lightRightBarTheme,
|
||||
contentTheme: ContentTheme.withColorTheme(ColorThemeType.purple, mode: ThemeMode.light),
|
||||
contentTheme: ContentTheme.withColorTheme(ColorThemeType.green, mode: ThemeMode.light),
|
||||
);
|
||||
|
||||
static void setTheme() {
|
||||
|
||||
@ -24,7 +24,7 @@ class ThemeCustomizer {
|
||||
ThemeMode leftBarTheme = ThemeMode.light;
|
||||
ThemeMode rightBarTheme = ThemeMode.light;
|
||||
ThemeMode topBarTheme = ThemeMode.light;
|
||||
ColorThemeType colorTheme = ColorThemeType.red;
|
||||
ColorThemeType colorTheme = ColorThemeType.green;
|
||||
bool rightBarOpen = false;
|
||||
bool leftBarCondensed = false;
|
||||
|
||||
@ -34,7 +34,7 @@ class ThemeCustomizer {
|
||||
static Future<void> init() async {
|
||||
await initLanguage();
|
||||
await _loadColorTheme();
|
||||
_notify();
|
||||
_notify();
|
||||
}
|
||||
|
||||
static initLanguage() async {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user