不要な処理を削除

This commit is contained in:
ろむねこ 2023-12-11 13:08:37 +09:00
parent 504e0a76d5
commit 0473c5abc2
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -90,10 +90,8 @@ public class DebugSharedPrefEditorFragment extends Fragment {
((RadioGroup) view.findViewById(R.id.radioGroupPrefType)).setOnCheckedChangeListener((group, checkedId) -> { ((RadioGroup) view.findViewById(R.id.radioGroupPrefType)).setOnCheckedChangeListener((group, checkedId) -> {
if (checkedId == R.id.radioButtonCommon) { if (checkedId == R.id.radioButtonCommon) {
sharedPrefType = SharedPrefType.COMMON; sharedPrefType = SharedPrefType.COMMON;
view.findViewById(R.id.radioButtonUserData).setSelected(false);
} else if (checkedId == R.id.radioButtonUserData) { } else if (checkedId == R.id.radioButtonUserData) {
sharedPrefType = SharedPrefType.USERDATA; sharedPrefType = SharedPrefType.USERDATA;
view.findViewById(R.id.radioButtonCommon).setSelected(false);
} else { } else {
Log.e("DebugSharedPrefEditorFragment", "radioButtonのIDが不正です"); Log.e("DebugSharedPrefEditorFragment", "radioButtonのIDが不正です");
} }