Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
try smaller image size for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zwierski committed May 6, 2022
1 parent b93ad0a commit 2b4c6b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class BuzzerScreenActivityTest {
}

@Test
fun answerIsPresentButGoneOnStartup() {
fun answerIsPresentButInvisibleOnStartup() {
val intent = Intent(ApplicationProvider.getApplicationContext(), BuzzerScreenActivity::class.java)

// Put mock extras inside
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import kotlin.collections.HashMap
class BuzzerScreenActivity : GameActivity() {

private val MAX_N_PLAYERS = 4
private val artwork_dim = 300
private val artwork_dim = 200
private val NO_BUZZER_PRESSED = -1
private val buzzersToRows:HashMap<Int, Int> = initHashmap()
private val rowsIdArray = ArrayList(buzzersToRows.values)
Expand Down Expand Up @@ -117,8 +117,6 @@ class BuzzerScreenActivity : GameActivity() {
private fun startRound(ctx: Context, gameManager: BuzzerGameManager) {
gameIsOn = true
findViewById<LinearLayout>(R.id.answer).visibility=View.INVISIBLE

// fetch song and initialise answerText. We'll see later for the image
val title = gameManager.getCurrentSong().getTrackName()
val artist = gameManager.getCurrentSong().getArtistName()
findViewById<TextView>(R.id.songTitle).text= "$title - $artist"
Expand Down

0 comments on commit 2b4c6b8

Please sign in to comment.