Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main thread panic src/app.rs:390:75 #57

Closed
kyoto7250 opened this issue Jun 17, 2024 · 0 comments · Fixed by #58
Closed

main thread panic src/app.rs:390:75 #57

kyoto7250 opened this issue Jun 17, 2024 · 0 comments · Fixed by #58
Assignees
Labels
bug Something isn't working v0.1.0
Milestone

Comments

@kyoto7250
Copy link
Owner

src/app.rs:390:75:
the len is 0 but the index is 0

        if let Some(header_icons) = &header_icons {
            let mut new_headers = vec![String::new(); headers.len()];
            for (index, header) in headers.iter().enumerate() {
                new_headers[index] = format!("{} {}", header, header_icons[index])
                    .trim()
                    .to_string();
            }
            return new_headers;
        }
@kyoto7250 kyoto7250 added bug Something isn't working v0.1.0 labels Jun 17, 2024
@kyoto7250 kyoto7250 self-assigned this Jun 17, 2024
@kyoto7250 kyoto7250 added this to the v0.0.3 milestone Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant