1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00

fix(dynamic string): dynamic sections not respecting ordering

Fixes #69.
This commit is contained in:
Jake Stanger 2023-03-01 23:09:34 +00:00
parent 7212bbcf61
commit 8cbb73b75e
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -71,6 +71,9 @@ impl DynamicString {
let tx = tx.clone();
let label_parts = label_parts.clone();
// insert blank value to preserve segment order
lock!(label_parts).push(String::new());
spawn(async move {
script
.run(|(out, _)| {