Skip to content

Commit

Permalink
Preparations for publishing 2.3.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
Garneg committed Aug 30, 2023
1 parent 418f7ad commit 9211e00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId "com.garnegsoft.hubs"
minSdk 23
targetSdk 34
versionCode 7
versionName "2.2.0"
versionCode 8
versionName "2.3.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
1 change: 0 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
static <1>$Companion Companion;
}

-dontobfuscate

# Keep `serializer()` on companion objects (both default and named) of serializable classes.
-if @kotlinx.serialization.Serializable class ** {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ fun CommentsThreadScreen(

LaunchedEffect(key1 = Unit, block = {
launch(Dispatchers.IO) {
CommentsListController.getThread(articleId, threadId)?.let {
viewModel.comments.postValue(it)
if (!viewModel.comments.isInitialized) {
CommentsListController.getThread(articleId, threadId)?.let {
viewModel.comments.postValue(it)
}
}
}
})
Expand Down

0 comments on commit 9211e00

Please sign in to comment.