mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-14 13:01:17 +01:00
Tweak notification icon color to make it work with dark notifcations
As the notification icon and text is set to black, ROMs like Samsung OneUI and themes that change notifications to have a dark background will have visibility issues with Termux notifications. This commit sets a neutral color which will be visible on both white and dark backgrounds.
This commit is contained in:
parent
7a5da83ce2
commit
fef0c66868
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ public final class TermuxService extends Service implements SessionChangedCallba
|
|||
builder.setShowWhen(false);
|
||||
|
||||
// Background color for small notification icon:
|
||||
builder.setColor(0xFF000000);
|
||||
builder.setColor(0xFF607D8B);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
builder.setChannelId(NOTIFICATION_CHANNEL_ID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue