gui: fix channel sort order (#17) #20

Merged
restitux merged 4 commits from fix-channel-order into main 2026-01-25 19:10:18 +00:00
Showing only changes of commit b22bdff949 - Show all commits
+1 -1
View File
2
@@ -145,7 +145,7 @@ impl ChannelsState {
let mut to_sort: Vec<(ChannelId, Option<ChannelId>, i32, String)> = Vec::new();
for (id, state) in self.channels.iter() {
// Hnadle channels with no parent (the root channel)
// Handle channels with no parent (the root channel)
restitux marked this conversation as resolved Outdated
Outdated
Review

Nit: Hnadle -> Handle

Nit: Hnadle -> Handle
let Some(parent_id) = state.parent else {
to_sort.push((*id, None, 0, state.name.clone()));
continue;