From bf906b8a6cc81423edf681efe2218e1689816855 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 19 Sep 2020 00:07:41 +0800 Subject: Hide Security option if no biometric authentication available. Require biometric authentication when going into security settings. --- app/src/main/res/layout/dialog_select_header.xml | 48 ++++++++++++++---------- app/src/main/res/values/strings.xml | 9 +++-- app/src/main/res/xml/main_preferences.xml | 1 + 3 files changed, 35 insertions(+), 23 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/dialog_select_header.xml b/app/src/main/res/layout/dialog_select_header.xml index 14c68249..31d49a9f 100644 --- a/app/src/main/res/layout/dialog_select_header.xml +++ b/app/src/main/res/layout/dialog_select_header.xml @@ -1,37 +1,47 @@ - - - - + android:valueFrom="1" + android:valueTo="6" + android:stepSize="1" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" /> + + + android:fontFamily="?attr/font_family" + app:layout_constraintTop_toBottomOf="@+id/seek_bar_dialog_select_header" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toBottomOf="parent" /> - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 337f759d..6020561e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -859,17 +859,18 @@ View Full Markdown - Unlock Account Section - User flair selected Cannot select user flair Select this user flair? Select Header Size - H1 - H6 + Large + Small Insert Link Text Link + Unlock Account Section + Unlock + diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 48bf5697..f2990908 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -42,6 +42,7 @@ app:fragment="ml.docilealligator.infinityforreddit.Settings.DownloadLocationPreferenceFragment" /> -- cgit v1.2.3