This commit is contained in:
Massimiliano Assante 2018-05-23 13:27:21 +00:00
parent 5eb3c862b3
commit a16c7f9c81
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ public class IconsManager {
return new MDIcon("web", "#0277bd");
if (extension.equals( "java")
|| extension.equals( "r"))
return new MDIcon("code", "#000"); // black
return new MDIcon("code", "#f44336"); // red
if (extension.endsWith("xml"))
return new MDIcon("assignment", "#f44336"); //red
if (extension.equals("sh"))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -87,8 +87,8 @@ public class GWTIconsManager {
if (extension.equals( "java")
|| extension.equals( "r"))
return StorageHubIconResources.INSTANCE.CODE();
if (extension.equals( "pdf"))
return StorageHubIconResources.INSTANCE.PDF();
if (extension.equals( "sh"))
return StorageHubIconResources.INSTANCE.SCRIPT();
if (extension.equals( "rar")
|| extension.equals( "zip")
|| extension.equals( "tar")