Skip to content

Commit ffb9577

Browse files
committed
改进度条
1 parent c0111bb commit ffb9577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Coding_iOS/Views/EaseMarkdownTextView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ - (void)doUploadPhoto:(UIImage *)image{
284284
@strongify(self);
285285
dispatch_async(dispatch_get_main_queue(), ^{
286286
if (self.HUD) {
287-
self.HUD.progress = fractionCompleted.floatValue;
287+
self.HUD.progress = MAX(0, fractionCompleted.floatValue-0.05) ;
288288
}
289289
});
290290
}];

0 commit comments

Comments
 (0)