chore : remove logger
This commit is contained in:
@@ -95,7 +95,7 @@ class ModulesLogic extends GetxController {
|
||||
|
||||
Future<void> navigateToModule(Module module) async {
|
||||
var target = getAuthTargetPage(module).entries.first;
|
||||
fLog('gooo');
|
||||
|
||||
if (target.value?[0] != null) {
|
||||
isLoading.value = !isLoading.value;
|
||||
await target.value?[0];
|
||||
@@ -103,7 +103,7 @@ class ModulesLogic extends GetxController {
|
||||
}
|
||||
|
||||
await Get.toNamed(target.key, arguments: module);
|
||||
fLog('return');
|
||||
|
||||
if (target.value?[1] != null) {
|
||||
await target.value?[1];
|
||||
}
|
||||
|
||||
@@ -57,11 +57,9 @@ class TokenStorageService extends GetxService {
|
||||
}
|
||||
|
||||
Future<void> saveModule(Module input) async {
|
||||
eLog("before saveModule = ${appModule.value} ==> $input");
|
||||
await _localStorage.save(boxName: _tokenBoxName, key: _moduleKey, value: input);
|
||||
appModule.value = input;
|
||||
appModule.refresh();
|
||||
eLog("after saveModule = ${appModule.value} ==> $input");
|
||||
}
|
||||
|
||||
Module? getModule() {
|
||||
|
||||
Reference in New Issue
Block a user