mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Make sure the task description color is opaque
This commit is contained in:
parent
6622a9b2b6
commit
b8ba59160f
1 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,7 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.core.content.FileProvider;
|
||||
import androidx.core.graphics.ColorUtils;
|
||||
import androidx.documentfile.provider.DocumentFile;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
|
@ -133,7 +134,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
d.setTint(colorActionForeground);
|
||||
d.draw(canvas);
|
||||
|
||||
ActivityManager.TaskDescription td = new ActivityManager.TaskDescription(null, bm, colorPrimaryDark);
|
||||
ActivityManager.TaskDescription td = new ActivityManager.TaskDescription(
|
||||
null, bm, ColorUtils.setAlphaComponent(colorPrimaryDark, 255));
|
||||
setTaskDescription(td);
|
||||
|
||||
boolean navbar_colorize = prefs.getBoolean("navbar_colorize", false);
|
||||
|
|
Loading…
Reference in a new issue