Bläddra i källkod

Remove redundant 'Shared items' string in conversation info

Signed-off-by: Tim Krüger <t@timkrueger.me>
Tim Krüger 3 år sedan
förälder
incheckning
863638af71

+ 2 - 3
app/src/main/res/layout/controller_conversation_info.xml

@@ -223,7 +223,7 @@
                 android:animateLayoutChanges="true"
                 apc:cardBackgroundColor="@color/bg_default"
                 apc:cardElevation="0dp"
-                apc:mpc_title="Shared Items">
+                apc:mpc_title="@string/nc_shared_items">
 
                 <com.yarolegovich.mp.MaterialStandardPreference
                     android:id="@+id/show_shared_items_action"
@@ -231,8 +231,7 @@
                     android:layout_height="wrap_content"
                     apc:mp_icon="@drawable/ic_folder_multiple_image"
                     apc:mp_icon_tint="@color/grey_600"
-                    apc:mp_summary="See all shared photos, voice messages, files, etc."
-                    apc:mp_title="Shared Items" />
+                    apc:mp_title="@string/nc_shared_items_description" />
 
             </com.yarolegovich.mp.MaterialPreferenceCategory>
 

+ 1 - 0
app/src/main/res/values/strings.xml

@@ -419,6 +419,7 @@
 
     <!-- shared items -->
     <string name="nc_shared_items">Shared items</string>
+    <string name="nc_shared_items_description">Images, files, voice messages…</string>
 
     <!-- voice messages -->
     <string name="nc_voice_message_filename">Talk recording from %1$s (%2$s)</string>