re-do the way a custom icon is generated / stored
fix small roll up header text going outside of circle view
This commit is contained in:
@@ -76,14 +76,15 @@ struct SmallRollUpHeaderView: View {
|
||||
.frame(width: 50, height: 50)
|
||||
|
||||
textView(forModel: model)
|
||||
.font(.title)
|
||||
.font(.title3)
|
||||
.fontWeight(.bold)
|
||||
.frame(width: 40, height: 40)
|
||||
.scaledToFill()
|
||||
.minimumScaleFactor(0.5)
|
||||
.lineLimit(1)
|
||||
.foregroundColor(Color(UIColor.white))
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
.padding([.leading, .trailing], 5)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user