Skip to content

Commit

Permalink
ReVancedUpdater: Fix SDK version check for YT
Browse files Browse the repository at this point in the history
* Oops

Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
  • Loading branch information
LeddaZ committed Oct 27, 2023
1 parent 5964f49 commit 126dc61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class MainActivity : AppCompatActivity() {
) {
try {
if (packageName == "app.revanced.android.youtube") {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
updateStatusTextView.text =
getString(R.string.old_android_version)
button.isEnabled = false
Expand Down

0 comments on commit 126dc61

Please sign in to comment.