From 31b57cc4247ec318f891542f3a25cae50b742890 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:53:31 +0400 Subject: [PATCH] fix ts --- .../views/usersettings/networkAndServers/OperatorView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/OperatorView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/OperatorView.kt index 0991bb2fb5..34c3ca194d 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/OperatorView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/OperatorView.kt @@ -158,10 +158,10 @@ fun OperatorViewLayout( } else { val footerText = when (val c = operator.conditionsAcceptance) { is ConditionsAcceptance.Accepted -> if (c.acceptedAt != null) { - String.format(generalGetString(MR.strings.operator_conditions_accepted_on), localTimestamp(c.acceptedAt)) + String.format(generalGetString(MR.strings.operator_conditions_accepted_on), localDate(c.acceptedAt)) } else null is ConditionsAcceptance.Required -> if (operator.enabled && c.deadline != null) { - String.format(generalGetString(MR.strings.operator_conditions_will_be_accepted_on), localTimestamp(c.deadline)) + String.format(generalGetString(MR.strings.operator_conditions_will_be_accepted_on), localDate(c.deadline)) } else null } if (footerText != null) {