Browse Source

a few fixes

Signed-off-by: William Casarin <jb55@jb55.com>
profile-edit
William Casarin 2 years ago
parent
commit
66eefa0ff2
  1. 2
      damus/Views/EventDetailView.swift
  2. 1
      damus/Views/ProfilePicView.swift

2
damus/Views/EventDetailView.swift

@ -60,7 +60,7 @@ struct EventDetailView: View {
switch cev { switch cev {
case .collapsed(let c): case .collapsed(let c):
Text("··· \(c.count) other notes ···") Text("··· \(c.count) other notes ···")
.padding([.top,.bottom], 10) .padding([.top,.bottom], 8)
.font(.footnote) .font(.footnote)
.foregroundColor(.gray) .foregroundColor(.gray)
.onTapGesture { .onTapGesture {

1
damus/Views/ProfilePicView.swift

@ -67,6 +67,7 @@ struct ProfilePicView: View {
.scaleFactor(UIScreen.main.scale) .scaleFactor(UIScreen.main.scale)
.loadDiskFileSynchronously() .loadDiskFileSynchronously()
.fade(duration: 0.1) .fade(duration: 0.1)
.overlay(Circle().stroke(highlight_color(highlight), lineWidth: pfp_line_width(highlight)))
} }
} }

Loading…
Cancel
Save