From ab4f1887a70d0bbab74981a382eb316ec68a47fd Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 19 Sep 2020 12:49:05 -0400 Subject: [PATCH] removing redundancy --- .../wyattjmiller/tictactoeapp/StatsDialogFragment.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/wyattjmiller/tictactoeapp/StatsDialogFragment.kt b/app/src/main/java/com/wyattjmiller/tictactoeapp/StatsDialogFragment.kt index fc8b4c5..749e3fa 100644 --- a/app/src/main/java/com/wyattjmiller/tictactoeapp/StatsDialogFragment.kt +++ b/app/src/main/java/com/wyattjmiller/tictactoeapp/StatsDialogFragment.kt @@ -34,11 +34,11 @@ class StatsDialogFragment(): DialogFragment() { mGamePiecesPlacedTextView = dialogView.findViewById(R.id.gamePiecesPlacedTextView) mDismissButton = dialogView.findViewById(R.id.dismissButton) - mGamesPlayedTextView.text = "Games Played: ${mStats.mGamesPlayed.toString()}" - mGamesWonXTextView.text = "Games Won - X: ${mStats.mGamesWonX.toString()}" - mGamesWonOTextView.text = "Games Won - O: ${mStats.mGamesWonO.toString()}" - mGamesCatsTextView.text = "Games Cats: ${mStats.mGamesCats.toString()}" - mGamePiecesPlacedTextView.text = "Games Pieces Placed: ${mStats.mGamePiecesPlaced.toString()}" + mGamesPlayedTextView.text = "Games Played: ${mStats.mGamesPlayed}" + mGamesWonXTextView.text = "Games Won - X: ${mStats.mGamesWonX}" + mGamesWonOTextView.text = "Games Won - O: ${mStats.mGamesWonO}" + mGamesCatsTextView.text = "Games Cats: ${mStats.mGamesCats}" + mGamePiecesPlacedTextView.text = "Game Pieces Placed: ${mStats.mGamePiecesPlaced}" builder.setView(dialogView)