From: Damyan Ivanov Date: Sun, 22 Dec 2019 06:44:23 +0000 (+0200) Subject: merge 'auto' api version handling branch with 'default' X-Git-Tag: v0.12.0~135 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=9f00a4f3aadae187e9e62bac23c2a366fe32892c;p=mobile-ledger.git merge 'auto' api version handling branch with 'default' --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java index e67eda00..755c6f2b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java @@ -246,9 +246,6 @@ public class ProfileDetailFragment extends Fragment implements HueRingDialog.Hue menu.inflate(R.menu.api_version); menu.setOnMenuItemClickListener(item -> { switch (item.getItemId()) { - case R.id.api_version_menu_auto: - apiVersion = SendTransactionTask.API.auto; - break; case R.id.api_version_menu_html: apiVersion = SendTransactionTask.API.html; break; @@ -258,6 +255,7 @@ public class ProfileDetailFragment extends Fragment implements HueRingDialog.Hue case R.id.api_version_menu_pre_1_15: apiVersion = SendTransactionTask.API.pre_1_15; break; + case R.id.api_version_menu_auto: default: apiVersion = SendTransactionTask.API.auto; }