mirror of https://github.com/M66B/FairEmail.git
Added notifications permission remark
This commit is contained in:
parent
00d90ab07e
commit
9c740ad053
|
@ -50,7 +50,7 @@
|
|||
android:drawableStart="@drawable/twotone_notifications_off_24"
|
||||
android:drawablePadding="6dp"
|
||||
android:paddingHorizontal="12dp"
|
||||
android:paddingVertical="6dp"
|
||||
android:paddingTop="6dp"
|
||||
android:text="@string/title_hint_notifications"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
app:drawableTint="?android:attr/textColorSecondary"
|
||||
|
@ -58,13 +58,25 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/vSeparatorAirplane" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvNotificationsRemark"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:padding="6dp"
|
||||
android:text="@string/title_hint_notifications_remark"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvNotifications" />
|
||||
|
||||
<View
|
||||
android:id="@+id/vSeparatorNotifications"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/colorSeparator"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvNotifications" />
|
||||
app:layout_constraintTop_toBottomOf="@id/tvNotificationsRemark" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBatteryOptimizations"
|
||||
|
@ -488,7 +500,7 @@
|
|||
android:id="@+id/grpNotifications"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:constraint_referenced_ids="tvNotifications,vSeparatorNotifications" />
|
||||
app:constraint_referenced_ids="tvNotifications,tvNotificationsRemark,vSeparatorNotifications" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/grpBatteryOptimizations"
|
||||
|
|
|
@ -2112,6 +2112,7 @@
|
|||
<string name="title_hint_folder_sync">To limit battery and network usage not all folders and not all messages will be synchronized by default</string>
|
||||
<string name="title_hint_airplane">Airplane mode is on</string>
|
||||
<string name="title_hint_notifications">No notification permissions</string>
|
||||
<string name="title_hint_notifications_remark">Notification permissions are required for (account) alerts too. Notifications for new messages can be turned off in the settings.</string>
|
||||
<string name="title_hint_battery_optimizations">Battery optimizations still enabled</string>
|
||||
<string name="title_hint_support">If you have a question or a problem, please use the support menu to get help</string>
|
||||
<string name="title_hint_message_actions">Swipe left to trash; Swipe right to archive (if available); The swipe actions can be configured in the account settings</string>
|
||||
|
|
Loading…
Reference in New Issue