Skip to content

Commit

Permalink
[ReaderAttack] Don't check for mfkey32.log if disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfreeman committed Nov 19, 2022
1 parent 1a7f433 commit b5698e5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ class ReaderAttackViewModel: ObservableObject {
var task: Task<Void, Never>?

func start() {
guard flipper?.state == .connected else {
return
}
task = Task {
do {
guard await hasMFKey32Log else {
Expand Down

0 comments on commit b5698e5

Please sign in to comment.