mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-26 02:51:02 +00:00
extension fix
This commit is contained in:
@@ -17,7 +17,6 @@ class ThemeManager(private val context: Context) {
|
||||
val options = DynamicColorsOptions.Builder()
|
||||
.setThemeOverlay(R.style.AppTheme_Amoled)
|
||||
.build()
|
||||
//need activity from context
|
||||
val activity = context as Activity
|
||||
DynamicColors.applyToActivityIfAvailable(activity, options)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user