mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
improve summary
This commit is contained in:
parent
d5bddba863
commit
1501b2660e
@ -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()
|
||||
|
@ -320,5 +320,5 @@
|
||||
<string name="wifi">WiFi</string>
|
||||
<string name="mobile_data">Mobile data</string>
|
||||
<string name="new_videos_badge">Indicator for new videos</string>
|
||||
<string name="new_videos_badge_summary">Show a badge with the amount of new videos</string>
|
||||
<string name="new_videos_badge_summary">Show a badge with the amount of new videos if there are some.</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user