Add default cases for switches lack them
This commit is contained in:
parent
3a11f2842b
commit
965fc5c27d
|
@ -62,6 +62,8 @@ public class DownloadsFragment extends Fragment {
|
||||||
case POS_LOG:
|
case POS_LOG:
|
||||||
tab.setText(R.string.downloads_log_label);
|
tab.setText(R.string.downloads_log_label);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}).attach();
|
}).attach();
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,8 @@ public class EpisodesFragment extends Fragment {
|
||||||
case POS_FAV_EPISODES:
|
case POS_FAV_EPISODES:
|
||||||
tab.setText(R.string.favorite_episodes_label);
|
tab.setText(R.string.favorite_episodes_label);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}).attach();
|
}).attach();
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,8 @@ public class StatisticsFragment extends Fragment {
|
||||||
case POS_SPACE_TAKEN:
|
case POS_SPACE_TAKEN:
|
||||||
tab.setText(R.string.download_statistics_label);
|
tab.setText(R.string.download_statistics_label);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}).attach();
|
}).attach();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue