mirror of
https://github.com/Burrit0z/Dockify_Source.git
synced 2025-07-01 10:26:46 +00:00
1.2.2 (remove extraneous stuff, thanks to anynon)
This commit is contained in:
@ -7,5 +7,5 @@ Description: A very noice tweak to configure the dock a bit more... Lightweight
|
|||||||
Maintainer: burrit0z
|
Maintainer: burrit0z
|
||||||
Author: burrit0z
|
Author: burrit0z
|
||||||
Section: Tweaks
|
Section: Tweaks
|
||||||
Version: 1.2.1
|
Version: 1.2.2
|
||||||
Installed-Size: 412
|
Installed-Size: 412
|
||||||
|
@ -1 +1 @@
|
|||||||
./packages/com.burritoz.dockify_1.2.1_iphoneos-arm.deb
|
./packages/com.burritoz.dockify_1.2.2_iphoneos-arm.deb
|
||||||
|
12
Dockify.xm
12
Dockify.xm
@ -110,16 +110,6 @@ HBPreferences *preferences;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
%hook SBDockIconListView
|
|
||||||
|
|
||||||
- (NSUInteger)iconColumnsForCurrentOrientation {
|
|
||||||
if (hidden) {
|
|
||||||
return (0);
|
|
||||||
} else {
|
|
||||||
return (setIconNumber);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
%end
|
|
||||||
//fix for icons being off the page ios 13
|
//fix for icons being off the page ios 13
|
||||||
%hook SBIconListGridLayoutConfiguration
|
%hook SBIconListGridLayoutConfiguration
|
||||||
|
|
||||||
@ -132,7 +122,7 @@ HBPreferences *preferences;
|
|||||||
NSUInteger rows = MSHookIvar<NSUInteger>(self, "_numberOfPortraitRows");
|
NSUInteger rows = MSHookIvar<NSUInteger>(self, "_numberOfPortraitRows");
|
||||||
NSUInteger columns = MSHookIvar<NSUInteger>(self, "_numberOfPortraitColumns");
|
NSUInteger columns = MSHookIvar<NSUInteger>(self, "_numberOfPortraitColumns");
|
||||||
// dock
|
// dock
|
||||||
if (rows <= 2 && columns == 4) {
|
if (rows <= 2 && columns == 4) { //Only checks the columns so if for some stupid reason the user has another dock tweak, it won't break things.
|
||||||
self.location = @"Dock";
|
self.location = @"Dock";
|
||||||
} else if (rows == 3 && columns == 3) {
|
} else if (rows == 3 && columns == 3) {
|
||||||
self.location = @"Folder";
|
self.location = @"Folder";
|
||||||
|
2
control
2
control
@ -2,7 +2,7 @@ Package: com.burritoz.dockify
|
|||||||
Name: Dockify
|
Name: Dockify
|
||||||
Depends: mobilesubstrate, preferenceloader, com.saurik.substrate.safemode, ws.hbang.common (>=1.13)
|
Depends: mobilesubstrate, preferenceloader, com.saurik.substrate.safemode, ws.hbang.common (>=1.13)
|
||||||
Conflicts: com.burritoz.testing
|
Conflicts: com.burritoz.testing
|
||||||
Version: 1.2.1
|
Version: 1.2.2
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
Description: A very noice tweak to configure the dock a bit more... Lightweight and effective!
|
Description: A very noice tweak to configure the dock a bit more... Lightweight and effective!
|
||||||
Maintainer: burrit0z
|
Maintainer: burrit0z
|
||||||
|
BIN
packages/com.burritoz.dockify_1.2.2_iphoneos-arm.deb
Normal file
BIN
packages/com.burritoz.dockify_1.2.2_iphoneos-arm.deb
Normal file
Binary file not shown.
Reference in New Issue
Block a user