From ef809a147d2be4254bba28f426e36ea62730cc4c Mon Sep 17 00:00:00 2001 From: Chris Offner <chrisoffner@pm.me> Date: Thu, 18 Mar 2021 09:09:45 +0100 Subject: [PATCH] Updated parameter name in ProxyContact, added file attribution. --- enzevalos_iphone/PreviewSampleData/SimulatorData.swift | 8 ++++---- enzevalos_iphone/SwiftUI/Compose/RecipientListView.swift | 2 +- enzevalos_iphone/SwiftUI/Compose/RecipientRowView.swift | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/enzevalos_iphone/PreviewSampleData/SimulatorData.swift b/enzevalos_iphone/PreviewSampleData/SimulatorData.swift index 5040ecc7..88cd8056 100644 --- a/enzevalos_iphone/PreviewSampleData/SimulatorData.swift +++ b/enzevalos_iphone/PreviewSampleData/SimulatorData.swift @@ -37,9 +37,9 @@ struct SimulatorData_Previews: PreviewProvider { struct ProxyData { // Different Contacts - static let Alice = ProxyContact(name: "Alice", email: "alice@example.com", myImage: ProxyContact.makeImg("Alice", color: .blue)) - static let Bob = ProxyContact(name: "Bob", email: "Bob.lord.of.kingsbridge.and.king.of.england@huge.subdomain.with. a.long.long.long.domain.example.com", myImage: ProxyContact.makeImg("Bob", color: .red)) - static let Charlie = ProxyContact(name: "Charlie", email: "charlie@example.com", myImage: ProxyContact.makeImg("Charlie", color: .green)) + static let Alice = ProxyContact(name: "Alice", email: "alice@example.com", avatar: ProxyContact.makeImg("Alice", color: .blue)) + static let Bob = ProxyContact(name: "Bob", email: "Bob.lord.of.kingsbridge.and.king.of.england@huge.subdomain.with. a.long.long.long.domain.example.com", avatar: ProxyContact.makeImg("Bob", color: .red)) + static let Charlie = ProxyContact(name: "Charlie", email: "charlie@example.com", avatar: ProxyContact.makeImg("Charlie", color: .green)) static let Landmarks = [ Landmark(name: "Berlin", domain: "exampledomain.de", location: .init(latitude: 52.520008, longitude: 13.404954)), Landmark(name: "New York", domain: "secondexampledomain.de", location: .init(latitude: 40.730610, longitude: -73.935242)), @@ -101,7 +101,7 @@ struct ProxyContact: DisplayContact { var email: String - var myImage: Image + var avatar: Image var isInContactBook: Bool = false diff --git a/enzevalos_iphone/SwiftUI/Compose/RecipientListView.swift b/enzevalos_iphone/SwiftUI/Compose/RecipientListView.swift index cd6853f1..db3c21a6 100644 --- a/enzevalos_iphone/SwiftUI/Compose/RecipientListView.swift +++ b/enzevalos_iphone/SwiftUI/Compose/RecipientListView.swift @@ -2,7 +2,7 @@ // RecipientListView.swift // letterbox_prototyping // -// Created by Chris Offner on 11.03.21. +// Created by Chris Offner & Claire Bräuer on 11.03.21. // import SwiftUI diff --git a/enzevalos_iphone/SwiftUI/Compose/RecipientRowView.swift b/enzevalos_iphone/SwiftUI/Compose/RecipientRowView.swift index fb0f3ba3..93b85aca 100644 --- a/enzevalos_iphone/SwiftUI/Compose/RecipientRowView.swift +++ b/enzevalos_iphone/SwiftUI/Compose/RecipientRowView.swift @@ -2,7 +2,7 @@ // recipientRowView.swift // letterbox_prototyping // -// Created by Chris Offner on 11.03.21. +// Created by Chris Offner & Claire Bräuer on 11.03.21. // import SwiftUI -- GitLab