Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
fix concurrenc in Toast.Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhieddine-El-Kaissi committed Oct 17, 2024
1 parent c14cca7 commit 4d4d24c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Thumbprint/Components/Toast.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private class KeyboardTracker {
* A wrapper around ToastView to handle the toast presentation and dismissal animations
*/
public class Toast: UIView {
public struct Theme: Equatable {
public struct Theme: Equatable, Sendable {
public let backgroundColor: UIColor
public let textColor: UIColor
public let iconColor: UIColor
Expand Down
2 changes: 1 addition & 1 deletion Sources/Thumbprint/Icons.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import UIKit

public enum Icon: String, CaseIterable {
public enum Icon: String, CaseIterable, Sendable {
public enum Size: String, CaseIterable {
case tiny = "--tiny"
case small = "--small"
Expand Down

0 comments on commit 4d4d24c

Please sign in to comment.