Skip to content

Commit

Permalink
enable the JB button when JB is done
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakuraFuuko committed May 8, 2024
1 parent 143e7f2 commit 9d52ce0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usprebooter/UI/Tabs/ToolbarButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class jbButton: UIButton {

switch state {
case .done:
self.isEnabled = true
self.backgroundColor = .systemGreen
self.setTitle("Userspace Reboot", for: .normal)
case .jailbreak:
Expand Down

0 comments on commit 9d52ce0

Please sign in to comment.