moved debug activation to long click of logo/appver

This commit is contained in:
gdlbo
2023-05-12 22:22:27 +03:00
parent 72eb342b98
commit a11a88e23f
4 changed files with 34 additions and 24 deletions
@@ -9,7 +9,7 @@ import static ru.vtosters.lite.utils.Preferences.devmenu;
import static ru.vtosters.lite.utils.Preferences.getBuildName;
public class About {
public static void injectToToolBar(View view) {
public static void inject(View view) {
view.setOnLongClickListener(v -> {
if (devmenu()) {
sendToast(AndroidUtils.getString(R.string.debug_menu_already_activated));
@@ -22,7 +22,7 @@ public class About {
}
public static String getCommitLink() {
return "https://github.com/vtosters/lite/commit/" + VersionReader.getVersionCommit(); // https://git.maki.su/gdlbo/lite/commit/ github repo
return "https://github.com/vtosters/lite/commit/" + VersionReader.getVersionCommit();
}
public static String getAppVersion() {