From e815a43cdf4805a2b91967818f2077157de5195e Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Wed, 17 Jul 2024 10:41:39 +1000 Subject: [PATCH] Added an attribution label to the PathActivity --- .../thoughtcrime/securesms/home/PathActivity.kt | 1 + app/src/main/res/layout/activity_path.xml | 15 +++++++++++++++ app/src/main/res/values/strings.xml | 1 + 3 files changed, 17 insertions(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt index db0c4d11cc..e81cc49783 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt @@ -111,6 +111,7 @@ class PathActivity : PassphraseRequiredActionBarActivity() { for (row in rows) { binding.pathRowsContainer.addView(row) } + binding.pathAttribution.visibility = View.VISIBLE if (isAnimated) { binding.spinner.fadeOut() } else { diff --git a/app/src/main/res/layout/activity_path.xml b/app/src/main/res/layout/activity_path.xml index 9a4734f540..fdc0320d3e 100644 --- a/app/src/main/res/layout/activity_path.xml +++ b/app/src/main/res/layout/activity_path.xml @@ -41,6 +41,21 @@ android:layout_centerInParent="true" app:SpinKit_Color="?android:textColorPrimary" /> + +