Print Preview: Use a computed property to set CrOS destination status
Slightly clean up the CrOS destination status code by using a computed property to set |statusText_|. This allows the removal of the observer on |destination| and manual calls of updateStatusText_(). Additionally, remove the stale shouldShowStatus_() function. Change-Id: I50011717b9643f137fdd67f12c580adcae289776 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357070 Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#799481}
Showing
Please register or sign in to comment