diff --git a/app/src/main/java/com/aurora/store/view/ui/details/AppDetailsFragment.kt b/app/src/main/java/com/aurora/store/view/ui/details/AppDetailsFragment.kt
index 4966fbcba..206a5e585 100644
--- a/app/src/main/java/com/aurora/store/view/ui/details/AppDetailsFragment.kt
+++ b/app/src/main/java/com/aurora/store/view/ui/details/AppDetailsFragment.kt
@@ -287,7 +287,7 @@ class AppDetailsFragment : BaseFragment(R.layout.fragment_details) {
viewLifecycleOwner.lifecycleScope.launch {
viewModel.userReview.collect {
- if (it.timeStamp == 0L) {
+ if (it.commentId.isNotEmpty()) {
binding.layoutDetailsReview.userStars.rating = it.rating.toFloat()
Toast.makeText(
requireContext(),
@@ -1029,7 +1029,7 @@ class AppDetailsFragment : BaseFragment(R.layout.fragment_details) {
toast(R.string.toast_anonymous_restriction)
} else {
addOrUpdateReview(app, Review().apply {
- title = authData.userProfile!!.name
+ title = B.inputTitle.text.toString()
rating = B.userStars.rating.toInt()
comment = B.inputReview.text.toString()
})
diff --git a/app/src/main/res/layout/layout_details_review.xml b/app/src/main/res/layout/layout_details_review.xml
index 38913d1f0..72582ee2c 100644
--- a/app/src/main/res/layout/layout_details_review.xml
+++ b/app/src/main/res/layout/layout_details_review.xml
@@ -52,20 +52,32 @@
android:scaleY=".75"
android:stepSize="1" />
-
+
+
-
+
"Permission"
"Privacy"
"Rating and reviews"
+ "Review title"
"What do you think about this app?"
"Cancel all"
"Cancelled"
@@ -310,7 +311,7 @@
"The version code you are requesting is unavailable."
"Congrats, requested version code is available, downloading now."
Browse page unavailable
- Rated
+ Rated, it may take a while to show
Could not submit rating
Could not generate AAS Token
Device config exported