RelayEntry: Hide usage bit display when they are all zero

This commit is contained in:
Bu5hm4nn 2023-05-20 16:24:19 -06:00
parent 2c7636ff5d
commit 1ac5d25653

View File

@ -826,7 +826,7 @@ impl RelayEntry {
self.paint_frame(ui, &rect);
self.paint_title(ui, &rect);
response |= self.paint_edit_btn(ui, &rect);
self.paint_stats(ui, &rect, true);
self.paint_stats(ui, &rect, self.db_relay.usage_bits != 0);
}
response