Replace report spam icon

This commit is contained in:
M66B
2021-09-04 16:24:22 +02:00
parent 77610b52f3
commit ee202dcb1a
7 changed files with 8 additions and 8 deletions

View File

@@ -4659,7 +4659,7 @@ class Core {
PendingIntent piJunk = PendingIntentCompat.getService(
context, ServiceUI.PI_JUNK, junk, PendingIntent.FLAG_UPDATE_CURRENT);
NotificationCompat.Action.Builder actionJunk = new NotificationCompat.Action.Builder(
R.drawable.twotone_report_problem_24,
R.drawable.twotone_report_24,
context.getString(R.string.title_advanced_notify_action_junk),
piJunk)
.setShowsUserInterface(false)

View File

@@ -346,7 +346,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
if (EntityFolder.TRASH.equals(type))
return R.drawable.twotone_delete_24;
if (EntityFolder.JUNK.equals(type))
return R.drawable.twotone_report_problem_24;
return R.drawable.twotone_report_24;
if (EntityFolder.SYSTEM.equals(type))
return R.drawable.twotone_folder_special_24;
return R.drawable.twotone_folder_24;

View File

@@ -2146,7 +2146,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
else if (EntityMessage.SWIPE_ACTION_MOVE.equals(action))
icon = R.drawable.twotone_folder_24;
else if (EntityMessage.SWIPE_ACTION_JUNK.equals(action))
icon = R.drawable.twotone_report_problem_24;
icon = R.drawable.twotone_report_24;
else if (EntityMessage.SWIPE_ACTION_DELETE.equals(action) ||
(action.equals(message.folder) && EntityFolder.TRASH.equals(message.folderType)) ||
(EntityFolder.TRASH.equals(actionType) && EntityFolder.JUNK.equals(message.folderType)))
@@ -3082,7 +3082,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (result.hasJunk && !result.isJunk && !result.isDrafts) // has junk and not junk/drafts
popupMenu.getMenu().add(Menu.FIRST, R.string.title_spam, order++, R.string.title_spam)
.setIcon(R.drawable.twotone_report_problem_24);
.setIcon(R.drawable.twotone_report_24);
if (!result.isTrash && result.hasTrash && !result.isJunk) // not trash and has trash and not is junk
popupMenu.getMenu().add(Menu.FIRST, R.string.title_trash, order++, R.string.title_trash)