This commit is contained in:
Finnley Somdahl 2024-01-23 13:37:52 -06:00
parent 67d482bad6
commit 3fa2690277

View file

@ -163,15 +163,15 @@ class MainActivity : AppCompatActivity() {
} }
val preferences: SourcePreferences = Injekt.get() val preferences: SourcePreferences = Injekt.get()
if (preferences.animeExtensionUpdatesCount().get() > 0 || preferences.mangaExtensionUpdatesCount().get() > 0) { if (preferences.animeExtensionUpdatesCount()
if (Random.nextInt(0, 4) == 1){ .get() > 0 || preferences.mangaExtensionUpdatesCount().get() > 0
) {
Toast.makeText( Toast.makeText(
this, this,
"You have extension updates available!", "You have extension updates available!",
Toast.LENGTH_LONG Toast.LENGTH_LONG
).show() ).show()
} }
}
binding.root.isMotionEventSplittingEnabled = false binding.root.isMotionEventSplittingEnabled = false