1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 19:25:34 +00:00

Added user agent hint

This commit is contained in:
M66B 2022-06-04 09:01:20 +02:00
parent 3a46fb4233
commit 862fa5fba9
2 changed files with 15 additions and 1 deletions

View file

@ -510,6 +510,19 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swGenericUserAgent" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvUserAgentHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_user_agent_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?attr/colorWarning"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvGenericUserAgent" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swSafeBrowsing"
android:layout_width="0dp"
@ -518,7 +531,7 @@
android:text="@string/title_advanced_safe_browsing"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvGenericUserAgent"
app:layout_constraintTop_toBottomOf="@id/tvUserAgentHint"
app:switchPadding="12dp" />
<eu.faircode.email.FixedTextView

View file

@ -863,6 +863,7 @@
<string name="title_advanced_display_hidden_hint">This can result in odd looking and double texts</string>
<string name="title_advanced_display_pin_hint">A PIN takes precedence over biometrics authentication</string>
<string name="title_advanced_display_autolock_nav_hint">There will be a grace time of %1$d seconds</string>
<string name="title_advanced_user_agent_hint">Some servers do not accept a generic user agent string</string>
<string name="title_advanced_safe_browsing_hint">The Google server knows which addresses are being looked up</string>
<string name="title_advanced_badge_hint">Only available on supported launchers</string>