Skip to content

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ST10195824 committed Nov 2, 2024
1 parent 5418627 commit bdeabcf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ dependencies {
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation("androidx.biometric:biometric:1.1.0")
implementation(libs.firebase.messaging.ktx)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ class RoutineSetsAdapter(

override fun onBindViewHolder(holder: RoutineSetsViewHolder, position: Int)
{
val previousWeight: String
val set = sets[position]
val previousWeight = previousWeights[position]

if (previousWeights.count() <= position)
{
previousWeight = ""
}
else {
previousWeight = previousWeights[position]
}
// setType
when (set.setType)
{
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ firebaseDatabase = "21.0.0"
mockk = "1.12.0"
robolectric = "4.9.2"
truth = "1.1.3"
firebaseMessagingKtx = "24.0.3"


[libraries]
Expand All @@ -38,6 +39,7 @@ firebase-database = { group = "com.google.firebase", name = "firebase-database",
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
truth = { module = "com.google.truth:truth", version.ref = "truth" }
firebase-messaging-ktx = { group = "com.google.firebase", name = "firebase-messaging-ktx", version.ref = "firebaseMessagingKtx" }


[plugins]
Expand Down

0 comments on commit bdeabcf

Please sign in to comment.