Skip to content

Commit

Permalink
Added token description to deletion notice
Browse files Browse the repository at this point in the history
Fixes #259
  • Loading branch information
igor2890 authored and justin-stephenson committed May 24, 2022
1 parent 086079a commit 352fb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FreeOTP/TokensViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class TokensViewController : UICollectionViewController, UICollectionViewDelegat
UIView.animate(withDuration: 0.5, animations: {
cell.transform = CGAffineTransform(translationX: 1200, y: 0)
}, completion: { (Bool) -> Void in
let actionSheetController: UIAlertController = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
let actionSheetController: UIAlertController = UIAlertController(title: token.issuer, message: token.label, preferredStyle: .actionSheet)

let removeAction: UIAlertAction = UIAlertAction(title: "Remove token", style: .destructive) { action -> Void in
TokenStore().erase(token: token)
Expand Down

0 comments on commit 352fb73

Please sign in to comment.