mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
fix custom gestalt keys not working
This commit is contained in:
@@ -45,7 +45,7 @@ class CustomGestaltTweaks:
|
|||||||
custom_tweaks: list[CustomGestaltTweak] = []
|
custom_tweaks: list[CustomGestaltTweak] = []
|
||||||
|
|
||||||
def create_tweak(key: str="", value: str="1", value_type: ValueType = ValueType.Integer) -> int:
|
def create_tweak(key: str="", value: str="1", value_type: ValueType = ValueType.Integer) -> int:
|
||||||
new_tweak = MobileGestaltTweak("", key, value=value)
|
new_tweak = MobileGestaltTweak(key, value=value)
|
||||||
CustomGestaltTweaks.custom_tweaks.append(CustomGestaltTweak(new_tweak, value_type))
|
CustomGestaltTweaks.custom_tweaks.append(CustomGestaltTweak(new_tweak, value_type))
|
||||||
# return the tweak id
|
# return the tweak id
|
||||||
return len(CustomGestaltTweaks.custom_tweaks) - 1
|
return len(CustomGestaltTweaks.custom_tweaks) - 1
|
||||||
|
|||||||
Reference in New Issue
Block a user