3 Commits

2 changed files with 7 additions and 3 deletions
+1
View File
@@ -189,6 +189,7 @@ class HttpUtils {
} }
if (resultCode.toUpperCase() == "UNLOGIN") { if (resultCode.toUpperCase() == "UNLOGIN") {
ToastUtils.showToast(msg: map['resultMsg']);
unLoginAction?.call(); unLoginAction?.call();
return; return;
} }
+6 -3
View File
@@ -133,9 +133,12 @@ class _UploadImagesState extends State<UploadImages> {
}) { }) {
return GestureDetector( return GestureDetector(
onTap: () => widget.oneTap?.call(index), onTap: () => widget.oneTap?.call(index),
child: CustomerImagesNetworking( child: ClipRRect(
imageUrl: imageUrl, borderRadius: BorderRadiusGeometry.circular(20.r),
fit: widget.fit ?? BoxFit.cover, child: CustomerImagesNetworking(
imageUrl: imageUrl,
fit: widget.fit ?? BoxFit.cover,
),
), ),
); );
} }