mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-29 03:21:02 +00:00
UI improvements
This commit is contained in:
parent
1d425a97f0
commit
7d0feaac54
1 changed files with 6 additions and 7 deletions
|
@ -30,14 +30,13 @@ struct AddIdentityView: View {
|
||||||
}
|
}
|
||||||
if let instance = viewModel.instance {
|
if let instance = viewModel.instance {
|
||||||
Section {
|
Section {
|
||||||
|
VStack(alignment: .center) {
|
||||||
KFImage(instance.thumbnail)
|
KFImage(instance.thumbnail)
|
||||||
.placeholder {
|
.placeholder {
|
||||||
ProgressView()
|
ProgressView()
|
||||||
}
|
}
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFit()
|
.aspectRatio(16 / 9, contentMode: .fill)
|
||||||
.listRowInsets(EdgeInsets())
|
|
||||||
VStack(alignment: .center) {
|
|
||||||
Text(instance.title)
|
Text(instance.title)
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
Text(instance.uri)
|
Text(instance.uri)
|
||||||
|
|
Loading…
Reference in a new issue