From 9f00a4f3aadae187e9e62bac23c2a366fe32892c Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 22 Dec 2019 08:44:23 +0200 Subject: [PATCH] merge 'auto' api version handling branch with 'default' --- .../ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } -- 2.39.5