adding icon and changing some sizing
This commit is contained in:
@@ -72,6 +72,7 @@ struct InnerCircleView: View {
|
|||||||
|
|
||||||
// header
|
// header
|
||||||
ZStack(alignment: .top) {
|
ZStack(alignment: .top) {
|
||||||
|
//TODO: find a better solution than hacking it like this
|
||||||
Color.clear
|
Color.clear
|
||||||
|
|
||||||
header
|
header
|
||||||
@@ -93,6 +94,14 @@ struct InnerCircleView: View {
|
|||||||
// }
|
// }
|
||||||
// .stroke(Color.black)
|
// .stroke(Color.black)
|
||||||
// .edgesIgnoringSafeArea(.all)
|
// .edgesIgnoringSafeArea(.all)
|
||||||
|
|
||||||
|
ZStack(alignment: .bottom) {
|
||||||
|
//TODO: find a better solution than hacking it like this
|
||||||
|
Color.clear
|
||||||
|
|
||||||
|
FooterControlsView()
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.onAppear() {
|
.onAppear() {
|
||||||
self.animateWaves = true
|
self.animateWaves = true
|
||||||
@@ -179,7 +188,7 @@ struct InnerCircleView: View {
|
|||||||
let xdelta = abs(midX - self.center.x)
|
let xdelta = abs(midX - self.center.x)
|
||||||
let ydelta = abs(midY - self.center.y)
|
let ydelta = abs(midY - self.center.y)
|
||||||
|
|
||||||
let innerCircleXAcceptance = Self.size * 0.75
|
let innerCircleXAcceptance = Self.size
|
||||||
let innerCircleYAcceptance = Self.size * 0.75
|
let innerCircleYAcceptance = Self.size * 0.75
|
||||||
let outerRingXAcceptance = self.universalSize.width * 0.4
|
let outerRingXAcceptance = self.universalSize.width * 0.4
|
||||||
let outerRingYAcceptance = self.universalSize.height * 0.3
|
let outerRingYAcceptance = self.universalSize.height * 0.3
|
||||||
@@ -228,8 +237,6 @@ struct InnerCircleView: View {
|
|||||||
.frame(width: 20.0, height: 32.132)
|
.frame(width: 20.0, height: 32.132)
|
||||||
.padding(.leading, 20)
|
.padding(.leading, 20)
|
||||||
|
|
||||||
Spacer()
|
|
||||||
|
|
||||||
Text("nirvana")
|
Text("nirvana")
|
||||||
.font(Font.custom("Satisfy-Regular", size: 28))
|
.font(Font.custom("Satisfy-Regular", size: 28))
|
||||||
.foregroundColor(NirvanaColor.teal)
|
.foregroundColor(NirvanaColor.teal)
|
||||||
@@ -237,6 +244,10 @@ struct InnerCircleView: View {
|
|||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
|
Image(systemName: "message.and.waveform")
|
||||||
|
.foregroundColor(Color.red.opacity(1))
|
||||||
|
.font(.title2)
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
Button("Log out") {
|
Button("Log out") {
|
||||||
print("log out button clicked")
|
print("log out button clicked")
|
||||||
|
|||||||
Reference in New Issue
Block a user