Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
krmao committed Apr 20, 2023
1 parent 06e0527 commit 517d719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/android/backup/TakePictureUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ private byte[] compressPicture(File pictureFile, float scale, boolean doCompress
private void uploadPicture(File pictureFile) {
byte[] pictureByteArray = compressPicture(pictureFile, 0.5f, false);
if (pictureFile == null || !pictureFile.exists() || pictureByteArray == null || pictureByteArray.length <= 0) {
showUploadCompletelyDialog(false, "未检测到有效图片, 上传失败\n\n(注意:连接/断开相机需重启应用)");
showUploadCompletelyDialog(false, "未检测到有效图片, 上传失败");
return;
}

Expand Down

0 comments on commit 517d719

Please sign in to comment.