diff --git a/es-core/src/components/primary/CarouselComponent.h b/es-core/src/components/primary/CarouselComponent.h index 9b03e6fda..ff0ad1845 100644 --- a/es-core/src/components/primary/CarouselComponent.h +++ b/es-core/src/components/primary/CarouselComponent.h @@ -313,7 +313,6 @@ void CarouselComponent::addEntry(Entry& entry, const std::shared_ptrsetCroppedSize(glm::round(mItemSize * (mItemScale >= 1.0f ? mItemScale : 1.0f))); item->setCornerRadius(mImageCornerRadius); item->setImage(entry.data.imagePath); - item->applyTheme(theme, "system", "", ThemeFlags::ALL); if (mImageBrightness != 0.0) item->setBrightness(mImageBrightness); if (mImageSaturation != 1.0) @@ -344,7 +343,6 @@ void CarouselComponent::addEntry(Entry& entry, const std::shared_ptr= 1.0f ? mItemScale : 1.0f))); mDefaultImage->setCornerRadius(mImageCornerRadius); mDefaultImage->setImage(entry.data.defaultImagePath); - mDefaultImage->applyTheme(theme, "system", "", ThemeFlags::ALL); if (mImageBrightness != 0.0) mDefaultImage->setBrightness(mImageBrightness); if (mImageSaturation != 1.0) @@ -419,7 +417,6 @@ void CarouselComponent::updateEntry(Entry& entry, const std::shared_ptrsetCroppedSize(glm::round(mItemSize * (mItemScale >= 1.0f ? mItemScale : 1.0f))); item->setCornerRadius(mImageCornerRadius); item->setImage(entry.data.imagePath); - item->applyTheme(theme, "system", "", ThemeFlags::ALL); if (mImageBrightness != 0.0) item->setBrightness(mImageBrightness); if (mImageSaturation != 1.0) diff --git a/es-core/src/components/primary/GridComponent.h b/es-core/src/components/primary/GridComponent.h index 4d34a8090..3b07186c5 100644 --- a/es-core/src/components/primary/GridComponent.h +++ b/es-core/src/components/primary/GridComponent.h @@ -312,7 +312,6 @@ void GridComponent::addEntry(Entry& entry, const std::shared_ptr& item->setCroppedSize(mItemSize * mImageRelativeScale); item->setCornerRadius(mImageCornerRadius); item->setImage(entry.data.imagePath); - item->applyTheme(theme, "system", "", ThemeFlags::ALL); if (mImageBrightness != 0.0) item->setBrightness(mImageBrightness); if (mImageSaturation != 1.0) @@ -345,7 +344,6 @@ void GridComponent::addEntry(Entry& entry, const std::shared_ptr& mDefaultImage->setCroppedSize(mItemSize * mImageRelativeScale); mDefaultImage->setCornerRadius(mImageCornerRadius); mDefaultImage->setImage(entry.data.defaultImagePath); - mDefaultImage->applyTheme(theme, "system", "", ThemeFlags::ALL); if (mImageBrightness != 0.0) mDefaultImage->setBrightness(mImageBrightness); if (mImageSaturation != 1.0) @@ -403,7 +401,6 @@ void GridComponent::updateEntry(Entry& entry, const std::shared_ptrsetCroppedSize(mItemSize * mImageRelativeScale); item->setCornerRadius(mImageCornerRadius); item->setImage(entry.data.imagePath); - item->applyTheme(theme, "system", "", ThemeFlags::ALL); if (mImageBrightness != 0.0) item->setBrightness(mImageBrightness); if (mImageSaturation != 1.0)