Save the database on onStop instead of onPause

pull/41/head
Alexander Bakker 7 years ago
parent 41846f9114
commit da4956cb3c

@ -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…
Cancel
Save