From 380a6088132945beb233e415e2edbe43ba0ac3fa Mon Sep 17 00:00:00 2001 From: helloyanis Date: Tue, 17 Oct 2023 15:02:15 +0200 Subject: [PATCH] V5.1 Fixed small things --- src/app/build.gradle.kts | 4 ++-- .../com/helloyanis/rucoycalculator/ui/skull/SkullFragment.kt | 1 + .../com/helloyanis/rucoycalculator/ui/train/TrainFragment.kt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/build.gradle.kts b/src/app/build.gradle.kts index c08b1b1..50c88ab 100644 --- a/src/app/build.gradle.kts +++ b/src/app/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "com.helloyanis.rucoycalculator" minSdk = 24 targetSdk = 34 - versionCode = 8 - versionName = "5" + versionCode = 10 + versionName = "5.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/skull/SkullFragment.kt b/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/skull/SkullFragment.kt index a8385bc..250056c 100644 --- a/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/skull/SkullFragment.kt +++ b/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/skull/SkullFragment.kt @@ -90,6 +90,7 @@ class SkullFragment : Fragment() { _binding = null } private fun setalldisplays(string: String){ + binding.root.findViewById(R.id.whiteskullvalue).text = string binding.root.findViewById(R.id.yellowskullvalue).text = string binding.root.findViewById(R.id.orangeskullvalue).text = string binding.root.findViewById(R.id.redskullvalue).text = string diff --git a/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/train/TrainFragment.kt b/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/train/TrainFragment.kt index fef8d85..58c5842 100644 --- a/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/train/TrainFragment.kt +++ b/src/app/src/main/java/com/helloyanis/rucoycalculator/ui/train/TrainFragment.kt @@ -605,7 +605,7 @@ class TrainFragment : Fragment() { alrdealdamage = true } else if (new_max_damage > 1 && !alrdealdamage && !dealdamage) { //if you cant deal damage to the next mob yet, you can deal damage in a certain amount of stats! str0 += - "🔥 You can deal " + new_max_damage.toInt() + " max damage to " + mobs[newpos].mob_name /*+ mobs[newpos].getEmoji_code()*/ + " in " + statadd + " stats!" //part of output + "🔥 You can deal " + new_max_damage.toInt() + " max damage to " + mobs[newpos].mob_name /*+ mobs[newpos].getEmoji_code()*/ + " in " + statadd + " stats!\n" //part of output dealdamage = true } checked = true