Revert "Add remote image loading policy settings"
We still want to blur images from stranges if we set the everyone policy. This is a regression. This reverts commitced5b4974f, reversing changes made to9be55b08fd.
This commit is contained in:
@@ -11,7 +11,6 @@ struct ProfileZoomView: View {
|
||||
@Environment(\.presentationMode) var presentationMode
|
||||
let pubkey: String
|
||||
let profiles: Profiles
|
||||
let contacts: Contacts
|
||||
|
||||
@GestureState private var scaleState: CGFloat = 1
|
||||
@GestureState private var offsetState = CGSize.zero
|
||||
@@ -69,7 +68,7 @@ struct ProfileZoomView: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles, contacts: contacts)
|
||||
ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles)
|
||||
.padding(100)
|
||||
.scaledToFit()
|
||||
.scaleEffect(self.scale * scaleState)
|
||||
@@ -93,8 +92,6 @@ struct ProfileZoomView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
ProfileZoomView(
|
||||
pubkey: pubkey,
|
||||
profiles: make_preview_profiles(pubkey),
|
||||
contacts: Contacts(our_pubkey: pubkey)
|
||||
)
|
||||
profiles: make_preview_profiles(pubkey))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user