Vasilis

fixes

......@@ -104,8 +104,8 @@ extension CouponsView {
HStack {
Image("ic_back", bundle: Bundle(for: MyEmptyClass.self))
.resizable()
.frame(width: self.uiscreen.height * 0.03, height: self.uiscreen.height * 0.02)
.offset(y: self.uiscreen.height * 0.02)
.frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02)
.offset(y: self.uiscreen.height * 0.018)
}
}
Text("Όλα τα κουπόνια μου")
......@@ -162,7 +162,7 @@ extension CouponsView {
.padding(.top, self.uiscreen.height * 0.05)
.frame(width: self.uiscreen.width * 0.95, height: self.uiscreen.height * 0.13)
.background(
Image("coupons_container", bundle: Bundle(for: MyEmptyClass.self))
Image("coupons_container", bundle: Bundle(for: MyEmptyClass.self)).resizable()
)
}
......@@ -174,7 +174,7 @@ extension CouponsView {
struct CouponsView: View {
var data:Array<NSDictionary> = DataModel().getData
var tag: String = "coupons"
var parentView: UIView
var uiscreen = UIScreen.main.bounds
......@@ -200,7 +200,7 @@ struct CouponsView: View {
}
.frame(width:self.uiscreen.width, height:self.uiscreen.height * 0.9 )
.background(
Image("coupons_scrollView", bundle: Bundle(for: MyEmptyClass.self))
Image("coupons_scrollview", bundle: Bundle(for: MyEmptyClass.self))
)
}
......