Update Tweak.x

This commit is contained in:
exoticswingset
2020-01-03 21:12:16 -05:00
committed by GitHub
parent 20d5b1c6ea
commit 058a299e15

View File

@ -3,7 +3,8 @@
-(void)setBackgroundAlpha:(double)arg1 { // Method found in SBDockView.h used to set dock opacity -(void)setBackgroundAlpha:(double)arg1 { // Method found in SBDockView.h used to set dock opacity
// Preferences // Preferences
NSDictionary *bundleDefaults = [[NSUserDefaults standardUserDefaults]persistentDomainForName:@"com.exoticswingset.truthfuldockprefs"]; NSDictionary *bundleDefaults = [[NSUserDefaults standardUserDefaults]
persistentDomainForName:@"com.exoticswingset.truthfuldockprefs"];
id isTweakEnabled = [bundleDefaults valueForKey:@"isTweakEnabled"]; id isTweakEnabled = [bundleDefaults valueForKey:@"isTweakEnabled"];
double alphaValue = [[bundleDefaults valueForKey:@"alphaValue"]doubleValue]; double alphaValue = [[bundleDefaults valueForKey:@"alphaValue"]doubleValue];