Skip to content

Commit 43a96fd

Browse files
committed
Do not special-case List<u8> in arrow_ui
1 parent 673210d commit 43a96fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/viewer/re_ui/src/arrow_ui.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ pub fn arrow_ui(ui: &mut egui::Ui, ui_layout: UiLayout, array: &dyn arrow::array
9696
} else {
9797
let instance_count_str = re_format::format_uint(instance_count);
9898

99-
let string = if array.data_type() == &DataType::UInt8 {
100-
re_format::format_bytes(instance_count as _)
101-
} else if let Some(dtype) = simple_datatype_string(array.data_type()) {
99+
let string = if let Some(dtype) = simple_datatype_string(array.data_type()) {
102100
format!("{instance_count_str} items of {dtype}")
103101
} else if let DataType::Struct(fields) = array.data_type() {
104102
format!(

0 commit comments

Comments
 (0)