mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Workaround cleanup (#6350)
* Remove material-components workaround that was fixed upstream * Remove unused toolbar workaround * Fix cover dialog navigation icon
This commit is contained in:
		| @@ -157,7 +157,7 @@ class WebViewActivity : BaseViewBindingActivity<WebviewActivityBinding>() { | ||||
|         backItem?.isEnabled = binding.webview.canGoBack() | ||||
|         forwardItem?.isEnabled = binding.webview.canGoForward() | ||||
|  | ||||
|         val iconTintColor = getResourceColor(R.attr.colorOnToolbar) | ||||
|         val iconTintColor = getResourceColor(R.attr.colorOnSurface) | ||||
|         val translucentIconTintColor = ColorUtils.setAlphaComponent(iconTintColor, 127) | ||||
|         backItem?.icon?.setTint(if (binding.webview.canGoBack()) iconTintColor else translucentIconTintColor) | ||||
|         forwardItem?.icon?.setTint(if (binding.webview.canGoForward()) iconTintColor else translucentIconTintColor) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user