Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86892da0 authored by Fs00's avatar Fs00
Browse files

Improve colors in changelog screen

parent e0aeab80
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ import java.io.OutputStream;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;

import io.github.tonnyl.whatsnew.WhatsNew;
import io.github.tonnyl.whatsnew.item.WhatsNewItem;

@@ -56,12 +57,12 @@ public class Utils {
                new WhatsNewItem("File Manager", "Enable on start of the app", R.drawable.star_icon),
                new WhatsNewItem("Zoom", "Changed from 3x to 5x", R.drawable.thumbs_icon)
                );
        log.setTitleColor(ContextCompat.getColor(context, R.color.colorAccent));
        log.setTitleColor(Color.BLACK);
        log.setTitleText(context.getResources().getString(R.string.appChangelog));
        log.setButtonText(context.getResources().getString(R.string.buttonLog));
        log.setButtonBackground(ContextCompat.getColor(context, R.color.colorPrimary));
        log.setButtonTextColor(ContextCompat.getColor(context, R.color.colorAccent));
        log.setItemTitleColor(ContextCompat.getColor(context, R.color.colorAccent));
        log.setButtonTextColor(Color.WHITE);
        log.setItemTitleColor(Color.parseColor("#339999")); // same as icons
        log.setItemContentColor(Color.parseColor("#808080"));

        log.show(context.getSupportFragmentManager(), "Log");