Rename DrawerBackupFragment to BackupRestoreFragment
This commit is contained in:
@@ -37,7 +37,7 @@ import org.sufficientlysecure.keychain.R;
|
|||||||
import org.sufficientlysecure.keychain.pgp.CanonicalizedSecretKey.SecretKeyType;
|
import org.sufficientlysecure.keychain.pgp.CanonicalizedSecretKey.SecretKeyType;
|
||||||
import org.sufficientlysecure.keychain.provider.KeychainContract.KeyRings;
|
import org.sufficientlysecure.keychain.provider.KeychainContract.KeyRings;
|
||||||
|
|
||||||
public class DrawerBackupFragment extends Fragment {
|
public class BackupRestoreFragment extends Fragment {
|
||||||
|
|
||||||
// This ids for multiple key export.
|
// This ids for multiple key export.
|
||||||
private ArrayList<Long> mIdsForRepeatAskPassphrase;
|
private ArrayList<Long> mIdsForRepeatAskPassphrase;
|
||||||
@@ -204,7 +204,7 @@ public class MainActivity extends BaseNfcActivity implements FabContainer, OnBac
|
|||||||
private void onBackupSelected() {
|
private void onBackupSelected() {
|
||||||
mToolbar.setTitle(R.string.nav_backup);
|
mToolbar.setTitle(R.string.nav_backup);
|
||||||
mDrawer.setSelectionByIdentifier(ID_BACKUP, false);
|
mDrawer.setSelectionByIdentifier(ID_BACKUP, false);
|
||||||
Fragment frag = new DrawerBackupFragment();
|
Fragment frag = new BackupRestoreFragment();
|
||||||
setFragment(frag, true);
|
setFragment(frag, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -265,7 +265,7 @@ public class MainActivity extends BaseNfcActivity implements FabContainer, OnBac
|
|||||||
} else if (frag instanceof AppsListFragment) {
|
} else if (frag instanceof AppsListFragment) {
|
||||||
mToolbar.setTitle(R.string.nav_apps);
|
mToolbar.setTitle(R.string.nav_apps);
|
||||||
mDrawer.setSelection(mDrawer.getPositionFromIdentifier(ID_APPS), false);
|
mDrawer.setSelection(mDrawer.getPositionFromIdentifier(ID_APPS), false);
|
||||||
} else if (frag instanceof DrawerBackupFragment) {
|
} else if (frag instanceof BackupRestoreFragment) {
|
||||||
mToolbar.setTitle(R.string.nav_backup);
|
mToolbar.setTitle(R.string.nav_backup);
|
||||||
mDrawer.setSelection(mDrawer.getPositionFromIdentifier(ID_BACKUP), false);
|
mDrawer.setSelection(mDrawer.getPositionFromIdentifier(ID_BACKUP), false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user