Improve the status of send messages (sending, sent, received, failed)

- tweaks and new L&F for download progress
This commit is contained in:
Gil Eluard
2021-02-25 11:07:21 +01:00
parent 36cb9c49d5
commit 44f1e827cd
8 changed files with 97 additions and 133 deletions
@@ -18,7 +18,7 @@ import UIKit
@IBDesignable
@objcMembers
class CircleProgressView: UIView {
class CircleProgressView: MXKPieChartView {
// MARK: - Constants
private static let minStrokeEnd: CGFloat = 0.000000000001
@@ -42,6 +42,14 @@ class CircleProgressView: UIView {
strokeEnd = max(min(value, CircleProgressView.maxStrokeEnd), CircleProgressView.minStrokeEnd)
}
}
override var progress: CGFloat {
get {
return value
}
set {
value = newValue
}
}
// MARK: - Private members