LinearProgressIndicator: Fixes for new M3 design
* Since 1.12.0, LinearProgressIndicator uses new M3 design that doesn't plays well with install and ratings for us * Switch both back to old style using new Widget.Material3.LinearProgressIndicator.Legacy style * Additionally drop trackCornerRadius and switch to custom background with clipToOutline for download as the class now has a bug that messes with style Keep downloads to follow new M3 design Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -237,6 +237,7 @@ class AppDetailsFragment : BaseFragment(R.layout.fragment_details) {
|
||||
}
|
||||
|
||||
// Downloads
|
||||
binding.layoutDetailsInstall.progressDownload.clipToOutline = true
|
||||
binding.layoutDetailsInstall.imgCancel.setOnClickListener {
|
||||
viewModel.cancelDownload(app)
|
||||
if (downloadStatus != DownloadStatus.DOWNLOADING) flip(0)
|
||||
|
||||
Reference in New Issue
Block a user