update for network issue
This commit is contained in:
@ -644,7 +644,7 @@ class DestinationController extends GetxController {
|
|||||||
|
|
||||||
// Save the image to the gallery
|
// Save the image to the gallery
|
||||||
final result = await ImageGallerySaver.saveImage(imageBytes);
|
final result = await ImageGallerySaver.saveImage(imageBytes);
|
||||||
print(result);
|
print("--- save result --- ${result}");
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> makeBuyPoint(Destination destination, String imageurl) async {
|
Future<void> makeBuyPoint(Destination destination, String imageurl) async {
|
||||||
|
|||||||
@ -177,9 +177,19 @@ class _GameStateWidgetState extends State<GameStateWidget> {
|
|||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(4.0),
|
padding: const EdgeInsets.all(4.0),
|
||||||
child: ConnectionStatusIndicator(
|
child: Obx(() => ConnectionStatusIndicator(
|
||||||
connectionStatus: ConnectionStatus.wifi,
|
connectionStatus: (indexController
|
||||||
minimized: !isExpanded),
|
.connectionStatusName.value ==
|
||||||
|
"wifi" ||
|
||||||
|
indexController
|
||||||
|
.connectionStatusName.value ==
|
||||||
|
"mobile")
|
||||||
|
? indexController.connectionStatusName.value ==
|
||||||
|
"wifi"
|
||||||
|
? ConnectionStatus.wifi
|
||||||
|
: ConnectionStatus.mobile
|
||||||
|
: ConnectionStatus.none,
|
||||||
|
minimized: !isExpanded)),
|
||||||
) // Expanded view
|
) // Expanded view
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user