mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 10:01:22 +01:00
Refactoring
This commit is contained in:
@@ -74,7 +74,7 @@ public class FragmentOptions extends FragmentBase {
|
||||
public Fragment getItem(int position) {
|
||||
switch (position) {
|
||||
case 0:
|
||||
return new FragmentOptionsGeneral();
|
||||
return new FragmentOptionsSynchronize();
|
||||
case 1:
|
||||
return new FragmentOptionsConnection();
|
||||
case 2:
|
||||
@@ -99,7 +99,7 @@ public class FragmentOptions extends FragmentBase {
|
||||
public CharSequence getPageTitle(int position) {
|
||||
switch (position) {
|
||||
case 0:
|
||||
return getString(R.string.title_advanced_section_general);
|
||||
return getString(R.string.title_advanced_section_synchronize);
|
||||
case 1:
|
||||
return getString(R.string.title_advanced_section_connection);
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user