From 4fa768f4c8da466d0f660e4c44a21eb92fd96abf Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 16 Sep 2023 10:47:58 +0200 Subject: [PATCH] Remove EOL message --- .../java/eu/faircode/netguard/ActivityMain.java | 14 -------------- app/src/main/res/layout/main.xml | 13 ------------- app/src/main/res/values/strings.xml | 6 ------ 3 files changed, 33 deletions(-) diff --git a/app/src/main/java/eu/faircode/netguard/ActivityMain.java b/app/src/main/java/eu/faircode/netguard/ActivityMain.java index de565bb2..54534509 100644 --- a/app/src/main/java/eu/faircode/netguard/ActivityMain.java +++ b/app/src/main/java/eu/faircode/netguard/ActivityMain.java @@ -292,20 +292,6 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences getSupportActionBar().setDisplayShowCustomEnabled(true); getSupportActionBar().setCustomView(actionView); - TextView tvEol = findViewById(R.id.tvEol); - tvEol.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View view) { - try { - startActivity(new Intent(Intent.ACTION_VIEW, - Uri.parse("https://www.reddit.com/r/Android/comments/15y7g70/"))); - } catch (Throwable ex) { - Log.e(TAG, ex.toString() + "\n" + Log.getStackTraceString(ex)); - Toast.makeText(view.getContext(), ex.toString(), Toast.LENGTH_LONG).show(); - } - } - }); - // Disabled warning TextView tvDisabled = findViewById(R.id.tvDisabled); tvDisabled.setVisibility(enabled ? View.GONE : View.VISIBLE); diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml index d8a9eafd..e351bde9 100644 --- a/app/src/main/res/layout/main.xml +++ b/app/src/main/res/layout/main.xml @@ -40,19 +40,6 @@ android:textColor="?attr/colorOff" android:visibility="visible" /> - - Waiting for event NetGuard is disabled, use the switch above to enable NetGuard Tap to grant notification permissions (for access attempt notifications, error messages, etc.) - - Google forces me to state that the app collects and shares email addresses when it does not. - I refuse to make false statements. - A meaningful discussion with Google appears to be impossible, and therefore this problem remains unsolved. - Google will soon remove the app from the Play Store and after that, there will be no point in maintaining and supporting this app anymore. - NetGuard has been disabled, likely by using another VPN based app \'%1$s\' installed Has been installed