Made a small revision to the notification icon.

main
Vavassor 8 years ago
parent 0ed8691057
commit a439674253
  1. 2
      app/src/main/java/com/keylesspalace/tusky/PullNotificationService.java
  2. BIN
      app/src/main/res/drawable-hdpi-v11/ic_notify.png
  3. BIN
      app/src/main/res/drawable-mdpi-v11/ic_notify.png
  4. BIN
      app/src/main/res/drawable-xhdpi-v11/ic_notify.png
  5. BIN
      app/src/main/res/drawable-xxhdpi-v11/ic_notify.png
  6. BIN
      app/src/main/res/mipmap-hdpi/ic_notify.png
  7. BIN
      app/src/main/res/mipmap-ldpi/ic_notify.png
  8. BIN
      app/src/main/res/mipmap-xhdpi/ic_notify.png

@ -204,7 +204,7 @@ public class PullNotificationService extends IntentService {
mentions.get(0).displayName); mentions.get(0).displayName);
} }
NotificationCompat.Builder builder = new NotificationCompat.Builder(this) NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
.setSmallIcon(R.mipmap.ic_notify) .setSmallIcon(R.drawable.ic_notify)
.setContentTitle(title); .setContentTitle(title);
if (icon != null) { if (icon != null) {
builder.setLargeIcon(icon); builder.setLargeIcon(icon);

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Loading…
Cancel
Save