diff --git a/app/src/main/java/com/github/libretube/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/activities/MainActivity.kt index 2662bd21e..1d09692b9 100644 --- a/app/src/main/java/com/github/libretube/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/activities/MainActivity.kt @@ -7,7 +7,6 @@ import android.os.Build import android.os.Bundle import android.os.Handler import android.os.Looper -import android.util.Log import android.view.Menu import android.view.MenuItem import android.view.View @@ -31,7 +30,6 @@ import com.github.libretube.constants.PreferenceKeys import com.github.libretube.databinding.ActivityMainBinding import com.github.libretube.dialogs.ErrorDialog import com.github.libretube.extensions.BaseActivity -import com.github.libretube.extensions.TAG import com.github.libretube.extensions.toID import com.github.libretube.fragments.PlayerFragment import com.github.libretube.models.PlayerViewModel @@ -237,7 +235,10 @@ class MainActivity : BaseActivity() { if (!PreferenceHelper.getBoolean( PreferenceKeys.NEW_VIDEOS_BADGE, false - )) return + ) + ) { + return + } val subscriptionsViewModel = ViewModelProvider(this)[SubscriptionsViewModel::class.java] subscriptionsViewModel.fetchSubscriptions() diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 80ac7eb7a..1d713b67d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -320,5 +320,5 @@ WiFi Mobile data Indicator for new videos - Show a badge with the amount of new videos + Show a badge with the amount of new videos if there are some.