Analytics: small fixes

This commit is contained in:
Benoit Marty 2021-12-06 18:19:05 +01:00
parent 3689a62aae
commit 74e573ecdc
3 changed files with 9 additions and 8 deletions

View file

@ -25,17 +25,19 @@
android:layout_height="wrap_content"
tools:text="Store content" />
<Button
android:id="@+id/show_analytics_opt_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Show Analytics Opt in" />
<Button
android:id="@+id/reset_analytics_opt_in_displayed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Reset Analytics Opt in Displayed" />
<Button
android:id="@+id/show_analytics_opt_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Show Analytics Opt in" />
</LinearLayout>
</ScrollView>

View file

@ -56,7 +56,7 @@ class AnalyticsOptInFragment @Inject constructor(
}
private fun setupLink() {
views.submit.setTextWithColoredPart(
views.subtitle.setTextWithColoredPart(
fullTextRes = R.string.analytics_opt_in_content,
coloredTextRes = R.string.analytics_opt_in_content_link,
onClick = {

View file

@ -54,7 +54,6 @@
android:layout_marginEnd="8dp"
android:gravity="center"
android:textColor="?vctr_content_secondary"
app:drawableStartCompat="@drawable/ic_list_item_bullet"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="@string/analytics_opt_in_content" />