Преглед на файлове

Remove what appears to be unneeded

I'm not sure why this code is needed as the tweaks appears to work perfectly without it.
pull/1/head
anynon преди 4 години
родител
ревизия
8a68068ce7
променени са 1 файла, в които са добавени 1 реда и са изтрити 11 реда
  1. +1
    -11
      Dockify.xm

+ 1
- 11
Dockify.xm Целия файл

@@ -110,16 +110,6 @@ HBPreferences *preferences;
}
}
%end
%hook SBDockIconListView

- (NSUInteger)iconColumnsForCurrentOrientation {
if (hidden) {
return (0);
} else {
return (setIconNumber);
}
}
%end
//fix for icons being off the page ios 13
%hook SBIconListGridLayoutConfiguration

@@ -132,7 +122,7 @@ HBPreferences *preferences;
NSUInteger rows = MSHookIvar<NSUInteger>(self, "_numberOfPortraitRows");
NSUInteger columns = MSHookIvar<NSUInteger>(self, "_numberOfPortraitColumns");
// dock
if (rows <= 2 && columns == 4) {
if (rows < 2) {
self.location = @"Dock";
} else if (rows == 3 && columns == 3) {
self.location = @"Folder";

Loading…
Отказ
Запис