diff --git a/app/src/main/java/net/sourceforge/opencamera/qr/QrImageAnalyzer.kt b/app/src/main/java/net/sourceforge/opencamera/qr/QrImageAnalyzer.kt
index 47273a370941e705bc7dba91840ac53cbe73a5a2..a1a8d7c5a932ef239783897ee8b5d792ea0ba1de 100644
--- a/app/src/main/java/net/sourceforge/opencamera/qr/QrImageAnalyzer.kt
+++ b/app/src/main/java/net/sourceforge/opencamera/qr/QrImageAnalyzer.kt
@@ -153,8 +153,8 @@ class QrImageAnalyzer(private val activity: Activity, private val scope: Corouti
)?.let {
DrawableCompat.wrap(it.mutate()).apply {
DrawableCompat.setTint(
- this, activity.getThemeColor(
- com.google.android.material.R.attr.colorOnBackground
+ this, activity.getColor(
+ R.color.e_icon_color
)
)
}
diff --git a/app/src/main/res/layout/qr_bottom_sheet_dialog.xml b/app/src/main/res/layout/qr_bottom_sheet_dialog.xml
index 318616b31297fce777876edb2886b763768c582e..8ee7345a60227fba4c315cc89a13ad4f14b8f2db 100644
--- a/app/src/main/res/layout/qr_bottom_sheet_dialog.xml
+++ b/app/src/main/res/layout/qr_bottom_sheet_dialog.xml
@@ -21,7 +21,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
- app:tint="@color/qrcodeColorOnSurface"
+ app:tint="@color/e_icon_color"
tools:ignore="ContentDescription" />
+ app:tint="@color/e_icon_color" />
+ app:tint="@color/e_icon_color" />
diff --git a/app/src/main/res/values-v21/styles.xml b/app/src/main/res/values-v21/styles.xml
index a0a3b85abd889d86c1ff30deb734d37c5fc422cd..c9b8594daeaffd3dbba77a2c47d66ac1c2b347c8 100644
--- a/app/src/main/res/values-v21/styles.xml
+++ b/app/src/main/res/values-v21/styles.xml
@@ -14,6 +14,7 @@
- @color/color_default_icon
- @style/customAlertDialog
- @color/color_default_background
+ - @style/BottomSheetTheme
+
+
+