Replaced spam icon

pull/180/head
M66B 5 years ago
parent 471b3e31fe
commit 3798f437d5

@ -3244,7 +3244,7 @@ class Core {
.putExtra("group", group); .putExtra("group", group);
PendingIntent piJunk = PendingIntent.getService(context, ServiceUI.PI_JUNK, junk, PendingIntent.FLAG_UPDATE_CURRENT); PendingIntent piJunk = PendingIntent.getService(context, ServiceUI.PI_JUNK, junk, PendingIntent.FLAG_UPDATE_CURRENT);
NotificationCompat.Action.Builder actionJunk = new NotificationCompat.Action.Builder( NotificationCompat.Action.Builder actionJunk = new NotificationCompat.Action.Builder(
R.drawable.baseline_flag_24, R.drawable.baseline_report_problem_24,
context.getString(R.string.title_advanced_notify_action_junk), context.getString(R.string.title_advanced_notify_action_junk),
piJunk) piJunk)
.setAllowGeneratedReplies(false); .setAllowGeneratedReplies(false);

@ -288,7 +288,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
if (EntityFolder.TRASH.equals(type)) if (EntityFolder.TRASH.equals(type))
return R.drawable.baseline_delete_24; return R.drawable.baseline_delete_24;
if (EntityFolder.JUNK.equals(type)) if (EntityFolder.JUNK.equals(type))
return R.drawable.baseline_flag_24; return R.drawable.baseline_report_problem_24;
if (EntityFolder.SYSTEM.equals(type)) if (EntityFolder.SYSTEM.equals(type))
return R.drawable.baseline_folder_special_24; return R.drawable.baseline_folder_special_24;
return R.drawable.baseline_folder_24; return R.drawable.baseline_folder_24;

@ -1739,7 +1739,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
else if (FragmentAccount.SWIPE_ACTION_MOVE.equals(action)) else if (FragmentAccount.SWIPE_ACTION_MOVE.equals(action))
icon = R.drawable.baseline_folder_24; icon = R.drawable.baseline_folder_24;
else if (FragmentAccount.SWIPE_ACTION_JUNK.equals(action)) else if (FragmentAccount.SWIPE_ACTION_JUNK.equals(action))
icon = R.drawable.baseline_flag_24; icon = R.drawable.baseline_report_problem_24;
else if (FragmentAccount.SWIPE_ACTION_DELETE.equals(action) || else if (FragmentAccount.SWIPE_ACTION_DELETE.equals(action) ||
(action.equals(message.folder) && EntityFolder.TRASH.equals(message.folderType)) || (action.equals(message.folder) && EntityFolder.TRASH.equals(message.folderType)) ||
(EntityFolder.TRASH.equals(actionType) && EntityFolder.JUNK.equals(message.folderType))) (EntityFolder.TRASH.equals(actionType) && EntityFolder.JUNK.equals(message.folderType)))

@ -152,7 +152,7 @@
android:padding="12dp" android:padding="12dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivTrash" app:layout_constraintTop_toBottomOf="@id/ivTrash"
app:srcCompat="@drawable/baseline_flag_24" /> app:srcCompat="@drawable/baseline_report_problem_24" />
<eu.faircode.email.FixedTextView <eu.faircode.email.FixedTextView
android:id="@+id/tvJunk" android:id="@+id/tvJunk"

@ -57,7 +57,7 @@
android:padding="6dp" android:padding="6dp"
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:tooltipText="@string/title_spam" android:tooltipText="@string/title_spam"
app:srcCompat="@drawable/baseline_flag_24" app:srcCompat="@drawable/baseline_report_problem_24"
tools:ignore="MissingConstraints" /> tools:ignore="MissingConstraints" />
<ImageButton <ImageButton

Loading…
Cancel
Save