Update CircleFooterView.swift
This commit is contained in:
@@ -44,13 +44,7 @@ struct CircleFooterView: View {
|
|||||||
.foregroundColor(NirvanaColor.teal)
|
.foregroundColor(NirvanaColor.teal)
|
||||||
.padding()
|
.padding()
|
||||||
.font(.title2)
|
.font(.title2)
|
||||||
}
|
}
|
||||||
|
|
||||||
Text("Your Turn")
|
|
||||||
.padding()
|
|
||||||
.background(Color.orange.opacity(0.5))
|
|
||||||
.clipShape(Capsule())
|
|
||||||
|
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
@@ -89,7 +83,7 @@ struct CircleFooterView: View {
|
|||||||
.animation(Animation.spring(), value: self.selectedFriendIndex)
|
.animation(Animation.spring(), value: self.selectedFriendIndex)
|
||||||
.offset(
|
.offset(
|
||||||
x:0,
|
x:0,
|
||||||
y:self.selectedFriendIndex == nil ? 0 : 0
|
y:self.selectedFriendIndex == nil ? 150 : 0
|
||||||
)
|
)
|
||||||
.onChange(of: self.selectedFriendIndex) {newValue in
|
.onChange(of: self.selectedFriendIndex) {newValue in
|
||||||
// update meta data based on which friend was selected
|
// update meta data based on which friend was selected
|
||||||
|
|||||||
Reference in New Issue
Block a user