set up business
This commit is contained in:
parent
62b092baf8
commit
3159129cdf
11 changed files with 398 additions and 157 deletions
|
|
@ -42,10 +42,13 @@ class MihFileApi {
|
|||
var decodedData = jsonDecode(response.body);
|
||||
fileUrl = decodedData['minioURL'];
|
||||
} else {
|
||||
internetConnectionPopUp(context);
|
||||
// internetConnectionPopUp(context);
|
||||
print("Error: ${response.statusCode}");
|
||||
print("Error: ${response.body}");
|
||||
}
|
||||
} catch (e) {
|
||||
internetConnectionPopUp(context);
|
||||
// internetConnectionPopUp(context);
|
||||
print("Error getting url");
|
||||
} finally {
|
||||
// Navigator.of(context).pop(); // Always pop loading dialog
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue