[Nearby] Receive Confirm Page: Hide progress on error, fix icon colors
The receive confirmation page uses <nearby-progress> with "progress=0" to show a device preview while hiding the progressbar. This mostly works, unless there is an error, in which case the progress bar is shown in red at 100%. This CL allows explicitly turning off progress so that is is not shown regardless of the error state. Use "--iron-icon-fill-color" in <nearby-progress> instead of "color" to set the device icon color, since the "color" property was getting overridden. Finally, grey out the <nearby-preview> on the receive confirmation page when there's an error to match the behavior on the send confirmation page. Screenshot: https://screenshot.googleplex.com/4Nxb6o9tThi3obQ.png Bug: b/163036847 Change-Id: Ibda918fb3fb5c54f7c9c98f9b31f5edaf083e16e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622900Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Commit-Queue: Curt Clemens <cclem@google.com> Cr-Commit-Position: refs/heads/master@{#843596}
Showing
Please register or sign in to comment