mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Fixed an issue where there was a theme loading error message if the 'all' badge slot type was used.
This commit is contained in:
parent
29417cc2fc
commit
47277f94b6
|
@ -476,7 +476,7 @@ void BadgeComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
||||||
}
|
}
|
||||||
mFlexboxItems.emplace_back(std::move(item));
|
mFlexboxItems.emplace_back(std::move(item));
|
||||||
}
|
}
|
||||||
else {
|
else if (slot != "all") {
|
||||||
LOG(LogError) << "Invalid badge slot \"" << slot << "\" defined";
|
LOG(LogError) << "Invalid badge slot \"" << slot << "\" defined";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue