diff --git a/app/utils.zig b/app/utils.zig index 042c138..31428e7 100644 --- a/app/utils.zig +++ b/app/utils.zig @@ -38,8 +38,10 @@ pub fn toggleItemChildren(item: *Item) !bool { } _ = item.children() catch |e| { + // TODO: show user switch (e) { ItemError.IsNotDirectory => return false, + error.AccessDenied => return false, else => return e, } };