Added option to ask what to do on swipe

This commit is contained in:
M66B
2019-06-28 09:32:06 +02:00
parent 8ba11789b3
commit 851ead228c
5 changed files with 55 additions and 31 deletions

View File

@@ -743,8 +743,10 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
// Forward referenced
Long swipe_left = account.swipe_left;
Long swipe_right = account.swipe_right;
account.swipe_left = null;
account.swipe_right = null;
if (account.swipe_left != null && account.swipe_left > 0)
account.swipe_left = null;
if (account.swipe_right != null && account.swipe_right > 0)
account.swipe_right = null;
account.created = new Date().getTime();
account.id = db.account().insertAccount(account);