Fix back buttons on license activity

This commit is contained in:
h4h13 2019-09-29 14:31:13 +05:30
parent dc0d43221f
commit 114920b744

View file

@ -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();