mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 00:57:02 +05:30
Merge #128
128: Enable Auto Backup for database files r=msfjarvis a=msfjarvis We persist saved posts in our SQLDelight database and while Android has been automatically doing backups, this makes it more explicit bors r+ Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
commit
ad75065848
2 changed files with 7 additions and 1 deletions
|
@ -12,7 +12,8 @@
|
|||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.AppCompat.DayNight">
|
||||
android:theme="@style/Theme.AppCompat.DayNight"
|
||||
android:fullBackupContent="@xml/full_backup_content">
|
||||
<activity
|
||||
android:name=".ui.main.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
|
|
5
app/src/main/res/xml/full_backup_content.xml
Normal file
5
app/src/main/res/xml/full_backup_content.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<full-backup-content>
|
||||
<!-- Backup SQLDelight generated databases so that saved posts can be restored -->
|
||||
<include domain="root" path="databases" />
|
||||
</full-backup-content>
|
Loading…
Add table
Add a link
Reference in a new issue