remove image url print

This commit is contained in:
2026-04-16 10:00:53 +02:00
parent 6c591172df
commit 26d3638d80

View File

@@ -49,11 +49,11 @@ class MihFileApi {
} }
} catch (e) { } catch (e) {
// internetConnectionPopUp(context); // internetConnectionPopUp(context);
print("Error getting url"); KenLogger.error("Error getting url");
} finally { } finally {
// Navigator.of(context).pop(); // Always pop loading dialog // Navigator.of(context).pop(); // Always pop loading dialog
} }
KenLogger.success("File URL: $fileUrl"); // KenLogger.success("File URL: $fileUrl");
if (AppEnviroment.getEnv() == "Dev" && kIsWeb) { if (AppEnviroment.getEnv() == "Dev" && kIsWeb) {
fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1"); fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1");
} else if (AppEnviroment.getEnv() == "Dev" && Platform.isIOS) { } else if (AppEnviroment.getEnv() == "Dev" && Platform.isIOS) {
@@ -61,7 +61,7 @@ class MihFileApi {
} else if (AppEnviroment.getEnv() == "Dev" && Platform.isLinux) { } else if (AppEnviroment.getEnv() == "Dev" && Platform.isLinux) {
fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1"); fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1");
} }
KenLogger.success("File URL: $fileUrl"); // KenLogger.success("File URL: $fileUrl");
return fileUrl; return fileUrl;
} }