Show a backup reminder if auto backups are not enabled

If the user doesn't have auto backups enabled, the reminder will pop up
up every time a significant change is made to the vault.

Users can get rid of the reminder by:
- Creating an export
- Enabling automatic backups (either ours or Android backups will do)
This commit is contained in:
Alexander Bakker 2022-04-10 16:47:44 +02:00
parent cf9fbf081c
commit 339a31b0f3
7 changed files with 66 additions and 20 deletions

View file

@ -24,7 +24,7 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:orientation="vertical">
<LinearLayout
android:id="@+id/btn_backup_error"
android:id="@+id/btn_error_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
@ -40,11 +40,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:tint="@color/icon_primary_inverted"
android:src="@drawable/ic_alert_black_24dp" />
android:src="@drawable/ic_info_outline_black_24dp" />
<TextView
android:id="@+id/text_error_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/backup_error_bar_message"
android:textColor="@color/primary_text_inverted"
android:layout_marginStart="5dp" />
</LinearLayout>