Small behavior improvement

This commit is contained in:
M66B
2022-04-17 14:29:48 +02:00
parent 189f9bff0c
commit 712f7553f3
3 changed files with 27 additions and 19 deletions

View File

@@ -103,6 +103,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.Callable;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
@@ -269,11 +270,12 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
drawerLayout.closeDrawer(drawerContainer);
onMenuFAQ();
}
}, new Runnable() {
}, new Callable<Boolean>() {
@Override
public void run() {
public Boolean call() {
drawerLayout.closeDrawer(drawerContainer);
onDebugInfo();
return true;
}
}).setExternal(true));
@@ -299,10 +301,11 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
drawerLayout.closeDrawer(drawerContainer);
onMenuAbout();
}
}, new Runnable() {
}, new Callable<Boolean>() {
@Override
public void run() {
public Boolean call() {
startActivity(new Intent(ActivitySetup.this, ActivityBilling.class));
return true;
}
}).setSubtitle(BuildConfig.VERSION_NAME));