mirror of https://codeberg.org/gitnex/GitNex.git
Make vars static
This commit is contained in:
parent
3cd17008a4
commit
1e3ce4cbde
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue