diff --git a/app/src/main/java/code/name/monkey/retromusic/activities/LicenseActivity.java b/app/src/main/java/code/name/monkey/retromusic/activities/LicenseActivity.java index 8a29ee0a..022d88b3 100644 --- a/app/src/main/java/code/name/monkey/retromusic/activities/LicenseActivity.java +++ b/app/src/main/java/code/name/monkey/retromusic/activities/LicenseActivity.java @@ -20,6 +20,7 @@ import android.view.MenuItem; import android.webkit.WebView; import androidx.annotation.NonNull; +import androidx.appcompat.widget.Toolbar; import org.jetbrains.annotations.Nullable; @@ -63,8 +64,9 @@ public class LicenseActivity extends AbsBaseActivity { setNavigationBarColorPrimary(); setTaskDescriptionColorAuto(); setLightNavigationBar(true); - - ToolbarContentTintHelper.colorBackButton(findViewById(R.id.toolbar), ATHUtil.INSTANCE.resolveColor(this, R.attr.colorOnSurface)); + Toolbar toolbar = findViewById(R.id.toolbar); + setSupportActionBar(toolbar); + ToolbarContentTintHelper.colorBackButton(toolbar, ATHUtil.INSTANCE.resolveColor(this, R.attr.colorOnSurface)); WebView webView = findViewById(R.id.license); try { StringBuilder buf = new StringBuilder();