Dynamically enable debug icon

This commit is contained in:
M66B
2020-09-10 15:58:55 +02:00
parent e9f2bfe3ac
commit 886dc218d0
15 changed files with 22 additions and 0 deletions

View File

@@ -103,6 +103,9 @@ public class ApplicationEx extends Application {
}
});
Helper.enableComponent(this, ActivityMain.class, !BuildConfig.DEBUG);
Helper.enableComponent(this, ActivityMain.class.getName() + ".Debug", BuildConfig.DEBUG);
Log.setup(this);
upgrade(this);