diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt
index f73b68887..c0e7984b4 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt
@@ -84,6 +84,10 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
override fun onCreate(savedInstanceState: Bundle?) {
useDynamicTheme = false
+ if (config.isUsingSystemTheme) {
+ setTheme(R.style.AppTheme_Material)
+ }
+
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_medium)
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index fdde24e05..09be94294 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -2,6 +2,12 @@
+
+