Skip to content

Commit

Permalink
chore (OONI Run V2): Add missing error message when no tests are sele…
Browse files Browse the repository at this point in the history
…cted
  • Loading branch information
aanorbel committed Mar 20, 2024
1 parent f5ae9c0 commit 328515e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.text.TextUtils
import android.widget.Toast
import androidx.core.content.ContextCompat
import androidx.core.graphics.drawable.DrawableCompat
import org.openobservatory.engine.BaseNettest
Expand Down Expand Up @@ -103,6 +104,8 @@ class RunTestsActivity : AbstractActivity() {
{ finish() },
preferenceManager
)
} else {
Toast.makeText(this@RunTestsActivity, "Please select test to run", Toast.LENGTH_LONG).show()
}
}

Expand Down

0 comments on commit 328515e

Please sign in to comment.