improve UI

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-05-20 18:48:05 +02:00 committed by Marcel Hibbe
parent 59bfaa6cd2
commit d159a577ba
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
3 changed files with 4 additions and 3 deletions

View File

@ -266,7 +266,7 @@ class ConversationInfoActivity :
}
is ConversationInfoViewModel.MarkConversationAsSensitiveViewState.Error -> {
Snackbar.make(binding.root, R.string.nc_common_error_sorry, Snackbar.LENGTH_LONG).show()
Log.e(TAG, "failed to mark conversation as sensitive", uiState.exception)
Log.e(TAG, "failed to mark conversation as insensitive", uiState.exception)
}
else -> {
}

View File

@ -140,7 +140,7 @@
<com.google.android.material.textview.MaterialTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nc_sensitive_conversation_hint"
android:hint="@string/nc_sensitive_conversation_hint"
android:textSize="@dimen/supporting_text_text_size"
android:textColor="?android:textColorSecondary" />
</LinearLayout>

View File

@ -347,7 +347,8 @@ How to translate with transifex:
<string name="nc_notify_me_never">Never notify</string>
<string name="nc_call_notifications">Call notifications</string>
<string name="nc_sensitive_conversation">Sensitive conversation</string>
<string name="nc_sensitive_conversation_hint">Hide message text</string>
<string name="nc_sensitive_conversation_hint">Message preview will be disabled in conversation list and
notifications</string>
<string name="nc_important_conversation">Important conversation</string>
<string name="nc_important_conversation_desc">Notifications in this conversation will override Do Not Disturb settings</string>