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

Commit 28ad76fb authored by fbaron's avatar fbaron Committed by Federico Baron
Browse files

Fix progress and plate width for download app

It looks like the plate width wasn't quite right as it's supposed to be half the width of the progress bar width. This should fix that.

Bug: 267272201
Test: Verify that the download app ux matches spec in bug
Change-Id: Ifbcb1e2d31cd8d9c20a69e8c64104198563f7cf9
parent 47f2dd6a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,9 +78,9 @@ public class PreloadIconDrawable extends FastBitmapDrawable {

    private static final float SMALL_SCALE = ENABLE_DOWNLOAD_APP_UX_V3.get() ? 0.8f : 0.7f;
    private static final float PROGRESS_STROKE_SCALE = ENABLE_DOWNLOAD_APP_UX_V2.get()
            ? 0.06666667f
            ? 0.055f
            : 0.075f;
    private static final float PROGRESS_BOUNDS_SCALE = 0.08f;
    private static final float PROGRESS_BOUNDS_SCALE = 0.075f;
    private static final int PRELOAD_ACCENT_COLOR_INDEX = 0;
    private static final int PRELOAD_BACKGROUND_COLOR_INDEX = 1;