@@ -783,25 +783,25 @@ public static Texture2D GetFileStatusIcon(GitFileStatus status, bool isLocked)
783
783
switch ( status )
784
784
{
785
785
case GitFileStatus . Modified :
786
- return ApplicationCache . Instance . LockedModifiedStatusIcon = ApplicationCache . Instance . LockedModifiedStatusIcon ?? Utility . GetIcon ( "locked.png" , "[email protected] " ) ;
786
+ return Utility . GetIcon ( "locked.png" , "[email protected] " ) ;
787
787
788
788
default :
789
- return ApplicationCache . Instance . LockedStatusIcon = ApplicationCache . Instance . LockedStatusIcon ?? Utility . GetIcon ( "locked-by-person.png" , "[email protected] " ) ;
789
+ return Utility . GetIcon ( "locked-by-person.png" , "[email protected] " ) ;
790
790
}
791
791
}
792
792
793
793
switch ( status )
794
794
{
795
795
case GitFileStatus . Modified :
796
- return ApplicationCache . Instance . ModifiedStatusIcon = ApplicationCache . Instance . ModifiedStatusIcon ?? Utility . GetIcon ( "modified.png" , "[email protected] " ) ;
796
+ return Utility . GetIcon ( "modified.png" , "[email protected] " ) ;
797
797
case GitFileStatus . Added :
798
- return ApplicationCache . Instance . AddedStatusIcon = ApplicationCache . Instance . AddedStatusIcon ?? Utility . GetIcon ( "added.png" , "[email protected] " ) ;
798
+ return Utility . GetIcon ( "added.png" , "[email protected] " ) ;
799
799
case GitFileStatus . Deleted :
800
- return ApplicationCache . Instance . DeletedStatusIcon = ApplicationCache . Instance . DeletedStatusIcon ?? Utility . GetIcon ( "removed.png" , "[email protected] " ) ;
800
+ return Utility . GetIcon ( "removed.png" , "[email protected] " ) ;
801
801
case GitFileStatus . Renamed :
802
- return ApplicationCache . Instance . RenamedStatusIcon = ApplicationCache . Instance . RenamedStatusIcon ?? Utility . GetIcon ( "renamed.png" , "[email protected] " ) ;
802
+ return Utility . GetIcon ( "renamed.png" , "[email protected] " ) ;
803
803
case GitFileStatus . Untracked :
804
- return ApplicationCache . Instance . UntrackedStatusIcon = ApplicationCache . Instance . UntrackedStatusIcon ?? Utility . GetIcon ( "untracked.png" , "[email protected] " ) ;
804
+ return Utility . GetIcon ( "untracked.png" , "[email protected] " ) ;
805
805
}
806
806
807
807
return null ;
0 commit comments