Skip to content

Commit

Permalink
Merge pull request #66 from keisukeYamagishi/fix/Correct-Increment
Browse files Browse the repository at this point in the history
Correct Increment AlertAction
  • Loading branch information
keisukeYamagishi authored Aug 5, 2024
2 parents f4ffacb + b10b5d4 commit 8b86e3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RxAlertExample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ extension ViewController: UITableViewDelegate {
message: "RxAlert Message",
actions: [AlertAction(title: "OK", type: 0, style: .default),
AlertAction(title: "First", type: 1, style: .default),
AlertAction(title: "Second", type: 1, style: .destructive),
AlertAction(title: "Cancel", type: 2, style: .cancel)],
AlertAction(title: "Second", type: 2, style: .destructive),
AlertAction(title: "Cancel", type: 3, style: .cancel)],
preferredStyle: .actionSheet)
.subscribe(onNext: { index in
print("index: \(index)")
Expand Down

0 comments on commit 8b86e3f

Please sign in to comment.