Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: ui/file_manager/file_manager/foreground/js/gear_menu_controller.js

Issue 2690853003: Do not show available bytes in media views. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/gear_menu_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/gear_menu_controller.js b/ui/file_manager/file_manager/foreground/js/gear_menu_controller.js
index fc1bbbf65c1cbe222e4ac9e2daf8222b776f87c1..b0353565125a92d8aa214fefa59170cf7835ca43 100644
--- a/ui/file_manager/file_manager/foreground/js/gear_menu_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/gear_menu_controller.js
@@ -91,7 +91,9 @@ GearMenuController.prototype.refreshRemainingSpace_ =
// TODO(mtomasz): Add support for remaining space indication for provided
// file systems.
- if (currentVolumeInfo.volumeType == VolumeManagerCommon.VolumeType.PROVIDED) {
+ if (currentVolumeInfo.volumeType == VolumeManagerCommon.VolumeType.PROVIDED ||
+ currentVolumeInfo.volumeType ==
+ VolumeManagerCommon.VolumeType.MEDIA_VIEW) {
this.gearMenu_.setSpaceInfo(null, false);
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698