mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Save the database on onStop instead of onPause
This commit is contained in:
parent
41846f9114
commit
da4956cb3c
1 changed files with 2 additions and 2 deletions
|
@ -298,9 +298,9 @@ public class MainActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
protected void onStop() {
|
||||
saveDatabase();
|
||||
super.onPause();
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
private BottomSheetDialog createBottomSheet(int position) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue