diff --git a/vector/src/main/java/im/vector/app/core/utils/TextUtils.kt b/vector/src/main/java/im/vector/app/core/utils/TextUtils.kt index 80dabd5021..d2f8c4022b 100644 --- a/vector/src/main/java/im/vector/app/core/utils/TextUtils.kt +++ b/vector/src/main/java/im/vector/app/core/utils/TextUtils.kt @@ -118,7 +118,7 @@ object TextUtils { private fun appendHours(context: Context, builder: StringBuilder, hours: Int) { builder.append(hours) - builder.append(context.resources.getQuantityString(R.plurals.time_unit_hour_short, hours)) + builder.append(context.resources.getString(R.string.time_unit_hour_short)) } private fun appendMinutes(context: Context, builder: StringBuilder, minutes: Int) { diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageLiveLocationItem.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageLiveLocationItem.kt index daca48e7aa..838fbd46de 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageLiveLocationItem.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageLiveLocationItem.kt @@ -57,7 +57,6 @@ abstract class MessageLiveLocationItem : AbsMessageLocationItemStart Chatting Spaces - - - hour - hours - + + h + min + sec @@ -3024,8 +3023,10 @@ Loading live location… Live location ended View live location + Live until %1$s Stop + %1$s left ${app_name} Live Location Location sharing is in progress