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

Commit c9669c1

Browse files
committed
Bind noodleDebugState to Developer mode.
1 parent 3289775 commit c9669c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/fox2code/mmm/MainActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ protected void onResume() {
7878
@Override
7979
protected void onCreate(Bundle savedInstanceState) {
8080
this.initMode = true;
81+
noodleDebugState = MainApplication.isDeveloper();
8182
BackgroundUpdateChecker.onMainActivityCreate(this);
8283
super.onCreate(savedInstanceState);
8384
this.setActionBarExtraMenuButton(R.drawable.ic_baseline_settings_24, v -> {
@@ -333,6 +334,7 @@ public void refreshUI() {
333334
this.updateBlurState();
334335
this.moduleViewListBuilder.setQuery(null);
335336
Log.i(TAG, "Item After");
337+
noodleDebugState = MainApplication.isDeveloper();
336338
this.moduleViewListBuilder.refreshNotificationsUI(this.moduleViewAdapter);
337339
InstallerInitializer.tryGetMagiskPathAsync(new InstallerInitializer.Callback() {
338340
@Override

0 commit comments

Comments
 (0)