Fixed an issue where there was a theme loading error message if the 'all' badge slot type was used.

This commit is contained in:
Leon Styhre 2023-02-13 22:41:42 +01:00
parent 29417cc2fc
commit 47277f94b6

View file

@ -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";
} }
} }