fix custom gestalt keys not working

This commit is contained in:
leminlimez
2025-01-13 10:01:25 -05:00
parent 66df1f1d41
commit 27b3b2cab5

View File

@@ -45,7 +45,7 @@ class CustomGestaltTweaks:
custom_tweaks: list[CustomGestaltTweak] = []
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))
# return the tweak id
return len(CustomGestaltTweaks.custom_tweaks) - 1