From 24b72059a62d66b8b414007f222c7e048c04e1dc Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 4 Jun 2022 12:41:05 +0200 Subject: [PATCH] noInternetActivity settings btn and fixes --- .../main/java/com/github/libretube/MainActivity.kt | 5 +++++ .../java/com/github/libretube/SettingsActivity.kt | 13 +++++++++++++ app/src/main/res/layout/activity_nointernet.xml | 14 ++++++++++++-- app/src/main/res/values/colors.xml | 2 +- 4 files changed, 31 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/github/libretube/MainActivity.kt b/app/src/main/java/com/github/libretube/MainActivity.kt index 791a23e86..6381140af 100644 --- a/app/src/main/java/com/github/libretube/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/MainActivity.kt @@ -18,6 +18,7 @@ import android.view.WindowInsetsController import android.view.WindowManager import android.view.inputmethod.InputMethodManager import android.widget.Button +import android.widget.ImageView import android.widget.LinearLayout import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.Toolbar @@ -79,6 +80,10 @@ class MainActivity : AppCompatActivity() { findViewById