Update CircleFooterView.swift
This commit is contained in:
@@ -37,8 +37,10 @@ struct CircleFooterView: View {
|
|||||||
.overlay(alignment: .topTrailing) {
|
.overlay(alignment: .topTrailing) {
|
||||||
// user status
|
// user status
|
||||||
ZStack(alignment: .topTrailing) {
|
ZStack(alignment: .topTrailing) {
|
||||||
ProgressBarView(progress: self.innerCircleVM.messagesListeningProgress, color: self.myTurn ?? false ? Color.orange : NirvanaColor.dimTeal)
|
if self.myTurn ?? false {
|
||||||
.frame(width: 40, height: 40)
|
ProgressBarView(progress: self.innerCircleVM.messagesListeningProgress, color: Color.orange)
|
||||||
|
.frame(width: 40, height: 40)
|
||||||
|
}
|
||||||
|
|
||||||
UserStatusView(status: self.selectedFriend!.userStatus, size: 10)
|
UserStatusView(status: self.selectedFriend!.userStatus, size: 10)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user