Add default cases for switches lack them

This commit is contained in:
Ebrahim Byagowi 2020-04-09 18:37:31 +04:30
parent 3a11f2842b
commit 965fc5c27d
3 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,8 @@ public class DownloadsFragment extends Fragment {
case POS_LOG:
tab.setText(R.string.downloads_log_label);
break;
default:
break;
}
}).attach();

View File

@ -66,6 +66,8 @@ public class EpisodesFragment extends Fragment {
case POS_FAV_EPISODES:
tab.setText(R.string.favorite_episodes_label);
break;
default:
break;
}
}).attach();

View File

@ -54,6 +54,8 @@ public class StatisticsFragment extends Fragment {
case POS_SPACE_TAKEN:
tab.setText(R.string.download_statistics_label);
break;
default:
break;
}
}).attach();