mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
toggle cpu and hardware spoofing
This commit is contained in:
@@ -220,9 +220,9 @@ class MobileGestaltPickerTweak(Tweak):
|
||||
plist["CacheExtra"][self.key][self.subkey] = new_value
|
||||
return plist
|
||||
|
||||
def set_selected_option(self, new_option: int):
|
||||
def set_selected_option(self, new_option: int, is_enabled: bool = True):
|
||||
self.selected_option = new_option
|
||||
self.enabled = True
|
||||
self.enabled = is_enabled
|
||||
|
||||
def get_selected_option(self) -> int:
|
||||
return self.selected_option
|
||||
|
||||
Reference in New Issue
Block a user