Skip to content

Commit

Permalink
Fixed environment
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Jul 30, 2024
1 parent 14b848c commit 40da592
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/RadarKit/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import SwiftUI

struct FAQViewKey: EnvironmentKey {
struct FAQViewKey: EnvironmentKey, Equatable {
static var defaultValue: AnyView? = nil
}
extension EnvironmentValues {
Expand All @@ -17,7 +17,7 @@ extension EnvironmentValues {
}
}

struct FeedbackTitleSampleKey: EnvironmentKey {
struct FeedbackTitleSampleKey: EnvironmentKey, Equatable {
static var defaultValue: LocalizedStringKey = ""
}
extension EnvironmentValues {
Expand All @@ -27,7 +27,7 @@ extension EnvironmentValues {
}
}

struct FeedbackAttachmentSelectorKey: EnvironmentKey {
struct FeedbackAttachmentSelectorKey: EnvironmentKey, Equatable {
static var defaultValue: ((@escaping (String, String) -> Void) -> AnyView)?
}
extension EnvironmentValues {
Expand All @@ -37,7 +37,7 @@ extension EnvironmentValues {
}
}

struct FeedbackExtDataKey: EnvironmentKey {
struct FeedbackExtDataKey: EnvironmentKey, Equatable {
static var defaultValue: [String: String] = [:]
}
extension EnvironmentValues {
Expand All @@ -47,7 +47,7 @@ extension EnvironmentValues {
}
}

struct TipperKey: EnvironmentKey {
struct TipperKey: EnvironmentKey, Equatable {
static var defaultValue: ((LocalizedStringKey, String) -> Void)?
}
extension EnvironmentValues {
Expand All @@ -57,7 +57,7 @@ extension EnvironmentValues {
}
}

struct NewFeedbackActionKey: EnvironmentKey {
struct NewFeedbackActionKey: EnvironmentKey, Equatable {
static var defaultValue: (() -> Void)?
}
extension EnvironmentValues {
Expand Down

0 comments on commit 40da592

Please sign in to comment.