diff --git a/BusinessCardWatch Watch App/Models/WatchCard.swift b/BusinessCardWatch Watch App/Models/WatchCard.swift index 59848cc..e029315 100644 --- a/BusinessCardWatch Watch App/Models/WatchCard.swift +++ b/BusinessCardWatch Watch App/Models/WatchCard.swift @@ -22,44 +22,3 @@ struct WatchCard: Codable, Identifiable, Hashable { return Image(uiImage: uiImage) } } - -extension WatchCard { - static let samples: [WatchCard] = [ - WatchCard( - id: UUID(), - displayName: "Daniel Sullivan", - role: "Property Developer", - company: "WR Construction", - email: "daniel@wrconstruction.co", - phone: "+1 (214) 987-7810", - website: "wrconstruction.co", - location: "Dallas, TX", - isDefault: true, - qrCodeImageData: nil - ), - WatchCard( - id: UUID(), - displayName: "Maya Chen", - role: "Creative Lead", - company: "Signal Studio", - email: "maya@signal.studio", - phone: "+1 (312) 404-2211", - website: "signal.studio", - location: "Chicago, IL", - isDefault: false, - qrCodeImageData: nil - ), - WatchCard( - id: UUID(), - displayName: "DJ Michaels", - role: "DJ", - company: "Live Sessions", - email: "dj@livesessions.fm", - phone: "+1 (646) 222-3300", - website: "livesessions.fm", - location: "New York, NY", - isDefault: false, - qrCodeImageData: nil - ) - ] -} diff --git a/BusinessCardWatch Watch App/State/WatchCardStore.swift b/BusinessCardWatch Watch App/State/WatchCardStore.swift index 15f3947..304af80 100644 --- a/BusinessCardWatch Watch App/State/WatchCardStore.swift +++ b/BusinessCardWatch Watch App/State/WatchCardStore.swift @@ -34,7 +34,7 @@ final class WatchCardStore { let data = defaults.data(forKey: Self.cardsKey), let decoded = try? JSONDecoder().decode([WatchCard].self, from: data) else { // Fall back to sample data if no synced data available - cards = WatchCard.samples + cards = [] return } cards = decoded