File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/com/nin0dev/vendroid Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import android.widget.Toast
1919import com.android.volley.Request
2020import com.android.volley.toolbox.StringRequest
2121import com.android.volley.toolbox.Volley
22+ import com.google.android.material.color.DynamicColors
2223import com.google.android.material.dialog.MaterialAlertDialogBuilder
2324import com.google.gson.Gson
2425import com.nin0dev.vendroid.HttpClient.fetchVencord
@@ -77,7 +78,7 @@ class MainActivity : Activity() {
7778 @SuppressLint(" SetJavaScriptEnabled" ) // mad? watch this swag
7879 override fun onCreate (savedInstanceState : Bundle ? ) {
7980 super .onCreate(savedInstanceState)
80-
81+ DynamicColors .applyToActivitiesIfAvailable(application)
8182 window.clearFlags(WindowManager .LayoutParams .FLAG_TRANSLUCENT_STATUS )
8283 window.statusBarColor = Color .TRANSPARENT
8384 window.clearFlags(WindowManager .LayoutParams .FLAG_TRANSLUCENT_NAVIGATION )
You can’t perform that action at this time.
0 commit comments