Skip to content

Commit

Permalink
Add RTL Suppourt
Browse files Browse the repository at this point in the history
  • Loading branch information
X901 committed Jan 17, 2024
1 parent 1f25f13 commit f0c5f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FXSwipeActionDemo/FXSwipeActionDemo/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct ContentView: View {

}

.fxSwipeActions(
.swipeActions(
leading:
SwipeActionButton(
iconType: !item.isComplete ? .system("checkmark.circle.fill") :
Expand Down
2 changes: 1 addition & 1 deletion Sources/FXSwipeAction/SwipeActionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ enum VisibleButton {

@available(iOS 15.0, *)
public extension View {
func fxSwipeActions(
func swipeActions(
leading: SwipeActionButton? = nil,
trailing: SwipeActionButton? = nil) -> some View {
modifier(SwipeActionView(leading: leading,
Expand Down

0 comments on commit f0c5f28

Please sign in to comment.