ui/listing: prevent spinning on is_online check

Since self.component is never drawn if account is not online, it will
remain dirty and everything will be redrawn again and again, blocking
the UI.
pull/234/head
Manos Pitsidianakis 5 years ago
parent ab3e01359a
commit 10368612ab
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -344,6 +344,7 @@ impl Component for Listing {
(set_x(upper_left, x + 1), bottom_right),
None,
);
self.component.set_dirty(false);
context.dirty_areas.push_back(area);
} else {
self.component

Loading…
Cancel
Save