Fix more bugs in directory size calculation

This commit is contained in:
Jeremy Soller 2024-11-15 15:37:31 -07:00
parent 5f944a3059
commit 0c43b0b342
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 65 additions and 34 deletions

View file

@ -1677,7 +1677,15 @@ impl Application for App {
std::future::pending().await
}),
),
self.tab.subscription().map(Message::TabMessage),
self.tab
.subscription(
self.core.window.show_context
&& matches!(
self.context_page,
ContextPage::Preview(_, PreviewKind::Selected)
),
)
.map(Message::TabMessage),
];
for (key, mounter) in MOUNTERS.iter() {