mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-03-22 21:13:45 -05:00
Make vars static
This commit is contained in:
@@ -9,11 +9,11 @@ import org.mian.gitnex.R;
|
||||
*/
|
||||
public class LanguageColor {
|
||||
|
||||
private static int color = R.color.default_lang_color;
|
||||
private static final Map<String, Integer> colors = new HashMap<>();
|
||||
|
||||
public static int languageColor(String key) {
|
||||
|
||||
int color = R.color.default_lang_color;
|
||||
Map<String, Integer> colors = new HashMap<>();
|
||||
|
||||
colors.put("ASP.NET", R.color.default_lang_color);
|
||||
colors.put("ATS", R.color.ats);
|
||||
colors.put("ActionScript", R.color.action_script);
|
||||
|
||||
Reference in New Issue
Block a user