Skip to content

Commit

Permalink
20% bleh
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Jan 23, 2024
1 parent 67d482b commit 3fa2690
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/src/main/java/ani/dantotsu/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ class MainActivity : AppCompatActivity() {
}

val preferences: SourcePreferences = Injekt.get()
if (preferences.animeExtensionUpdatesCount().get() > 0 || preferences.mangaExtensionUpdatesCount().get() > 0) {
if (Random.nextInt(0, 4) == 1){
Toast.makeText(
this,
"You have extension updates available!",
Toast.LENGTH_LONG
).show()
}
if (preferences.animeExtensionUpdatesCount()
.get() > 0 || preferences.mangaExtensionUpdatesCount().get() > 0
) {
Toast.makeText(
this,
"You have extension updates available!",
Toast.LENGTH_LONG
).show()
}

binding.root.isMotionEventSplittingEnabled = false
Expand Down

0 comments on commit 3fa2690

Please sign in to comment.