Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
renamed alarm icon to bell
Browse files Browse the repository at this point in the history
  • Loading branch information
XJIOP committed Jan 13, 2020
1 parent 6d87eca commit ca8ae69
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/src/main/java/org/xjiop/oxygenaodmod/Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public class Helper {

public static Map<String, Integer> iconList() {
Map<String, Integer> arr = new HashMap<>();
arr.put("alarm", R.drawable.ic_alarm);
arr.put("android", R.drawable.ic_android);
arr.put("bell", R.drawable.ic_bell);
arr.put("eye", R.drawable.ic_eye);
arr.put("info", R.drawable.ic_info);
arr.put("star", R.drawable.ic_star);
Expand Down Expand Up @@ -78,10 +78,10 @@ public static String categoryName(Context context, String category) {

public static String iconName(Context context, String icon) {
switch (icon) {
case "alarm":
return context.getString(R.string.alarm);
case "android":
return context.getString(R.string.android);
case "bell":
return context.getString(R.string.bell);
case "eye":
return context.getString(R.string.eye);
case "info":
Expand Down Expand Up @@ -218,10 +218,10 @@ static int myIcon(String icon) {
return R.drawable.ic_warning;

switch (icon) {
case "alarm":
return R.drawable.ic_alarm;
case "android":
return R.drawable.ic_android;
case "bell":
return R.drawable.ic_bell;
case "eye":
return R.drawable.ic_eye;
case "info":
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<string name="enter_number">Введите число</string>
<string name="icon">Иконка</string>
<string name="android">Андроид</string>
<string name="bell">Звонок</string>
<string name="eye">Глаз</string>
<string name="info">Инфо</string>
<string name="star">Звезда</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
<string name="enter_number">Enter a number</string>
<string name="icon">Icon</string>
<string name="android">Android</string>
<string name="bell">Bell</string>
<string name="eye">Eye</string>
<string name="info">Info</string>
<string name="star">Star</string>
Expand Down

0 comments on commit ca8ae69

Please sign in to comment.