Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit c8d75b5

Browse files
committed
Update libraries and fixup settings activity
1 parent 5cb47e2 commit c8d75b5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ configurations {
102102

103103
dependencies {
104104
// UI
105-
implementation 'androidx.appcompat:appcompat:1.5.0'
105+
implementation 'androidx.appcompat:appcompat:1.5.1'
106106
implementation 'androidx.emoji2:emoji2:1.2.0'
107107
implementation 'androidx.emoji2:emoji2-views-helper:1.2.0'
108108
implementation 'androidx.preference:preference:1.2.0'
@@ -116,7 +116,7 @@ dependencies {
116116
implementation "dev.rikka.rikkax.insets:insets:1.3.0"
117117
implementation 'com.github.Dimezis:BlurView:version-1.6.6'
118118
implementation 'com.github.KieronQuinn:MonetCompat:0.4.1'
119-
implementation 'com.github.Fox2Code:FoxCompat:0.1.2'
119+
implementation 'com.github.Fox2Code:FoxCompat:0.1.3'
120120

121121
// Utils
122122
implementation 'androidx.work:work-runtime:2.7.1'

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
android:name="androidx.work.WorkManagerInitializer"
109109
tools:node="remove" />
110110
</provider>
111-
<meta-data
111+
<!--<meta-data
112112
android:name="io.sentry.dsn"
113113
android:value="https://ba5cb5ef513b423cbd54a2a8457113b1@sentry.androidacy.com/7" />
114114
<meta-data
@@ -119,6 +119,6 @@
119119
android:value="true" />
120120
<meta-data
121121
android:name="io.sentry.attach-screenshot"
122-
android:value="true" />
122+
android:value="true" />-->
123123
</application>
124124
</manifest>

app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
public class SettingsActivity extends FoxActivity implements LanguageActivity {
7070
private static final int LANGUAGE_SUPPORT_LEVEL = 1;
7171
private static final String TAG = "SettingsActivity";
72-
private static boolean devModeStepFirstBootIgnore = false;
72+
private static boolean devModeStepFirstBootIgnore = MainApplication.isDeveloper();
7373
private static int devModeStep = 0;
7474

7575
@Override
@@ -251,6 +251,7 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
251251
if (BuildConfig.DEBUG || BuildConfig.ENABLE_AUTO_UPDATER) {
252252
findPreference("pref_report_bug").setOnPreferenceClickListener(p -> {
253253
devModeStep = 0;
254+
devModeStepFirstBootIgnore = true;
254255
IntentHelper.openUrl(p.getContext(), "https://github.com/Fox2Code/FoxMagiskModuleManager/issues");
255256
return true;
256257
});

0 commit comments

Comments
 (0)