diff --git a/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift b/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift index de005364..c8a8cbd5 100644 --- a/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift +++ b/SodaLive/Sources/V2/Component/Modal/SodaV2ActionModal.swift @@ -11,6 +11,7 @@ struct SodaV2ActionModal: View { let button1: SodaV2ActionModalButton? let button2: SodaV2ActionModalButton? let onDimmedTap: () -> Void + var primaryTextColor: Color = .soda400 private var visibleButtons: [(label: String, action: () -> Void, isPrimary: Bool)] { var buttons = [(label: String, action: () -> Void, isPrimary: Bool)]() @@ -79,7 +80,7 @@ struct SodaV2ActionModal: View { Button(action: action) { Text(title) .appFont(size: 18, weight: .medium) - .foregroundColor(isPrimary ? Color.soda400 : Color.white) + .foregroundColor(isPrimary ? primaryTextColor : Color.white) .frame(maxWidth: .infinity) .padding(14) .background(Color.clear)