We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a58cc6 commit eb697c3Copy full SHA for eb697c3
app/src/main/java/de/Maxr1998/xposed/maxlock/ui/settings/Startup.kt
@@ -59,6 +59,17 @@ class Startup(context: Context) : AsyncTaskLoader<Void>(context) {
59
.putBoolean(Common.ENABLE_IMOD_DELAY_GLOBAL, false).apply()
60
}
61
62
+ // Default activity customizations
63
+ val prefsApps = MLPreferences.getPrefsApps(context)
64
+ val prefsAppsEditor = prefsApps.edit()
65
+ arrayOf(
66
+ "com.instagram.mainactivity.MainTabActivity"
67
+ ).forEach {
68
+ if (!prefsApps.contains(it))
69
+ prefsAppsEditor.putBoolean(it, false)
70
+ }
71
+ prefsAppsEditor.apply()
72
+
73
// Clean up
74
val backgroundFolder = File(Util.dataDir(context), "background")
75
if (backgroundFolder.exists()) {
0 commit comments