Skip to content

Instantly share code, notes, and snippets.

@shinvou
Created August 20, 2015 06:53
Show Gist options
  • Select an option

  • Save shinvou/c3906eacbd6b0c349753 to your computer and use it in GitHub Desktop.

Select an option

Save shinvou/c3906eacbd6b0c349753 to your computer and use it in GitHub Desktop.

Revisions

  1. shinvou revised this gist Aug 20, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Tweak.xm
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    %hook SBApplication

    -(BOOL)iconIsRecentlyUpdated:(id)icon
    - (BOOL)iconIsRecentlyUpdated:(id)icon
    {
    // icon is either SBApplicationIcon or SBUserInstalledApplicationIcon, which is a subclass of SBApplicationIcon

  2. shinvou created this gist Aug 20, 2015.
    10 changes: 10 additions & 0 deletions Tweak.xm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    %hook SBApplication

    -(BOOL)iconIsRecentlyUpdated:(id)icon
    {
    // icon is either SBApplicationIcon or SBUserInstalledApplicationIcon, which is a subclass of SBApplicationIcon

    return NO;
    }

    %end