summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/drawer
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-01-08 16:11:23 +0100
committerFup Duck <fupduck@sacknagel.com>2018-01-08 16:11:23 +0100
commit245982bdb6fda879827ab3c89617b8dd591fb7f4 (patch)
treef43183209ca083d364d31935f160174e2a505eb2 /app/src/main/java/se/leap/bitmaskclient/drawer
parentbd99fc61a2e8217c41b70c6f2ff0df87e7008ea0 (diff)
AboutActivity to AboutFragment
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/drawer')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
index 60c38fbc..e7217ad1 100644
--- a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
@@ -32,6 +32,7 @@ import se.leap.bitmaskclient.Constants;
import se.leap.bitmaskclient.Provider;
import se.leap.bitmaskclient.R;
import se.leap.bitmaskclient.VpnFragment;
+import se.leap.bitmaskclient.fragments.AboutFragment;
import se.leap.bitmaskclient.fragments.LogFragment;
import se.leap.bitmaskclient.userstatus.User;
import se.leap.bitmaskclient.userstatus.UserStatusFragment;
@@ -142,6 +143,7 @@ public class NavigationDrawerFragment extends Fragment {
getString(R.string.vpn_fragment_title),
getString(R.string.switch_provider_menu_option),
getString(R.string.log_fragment_title),
+ getString(R.string.about_fragment_title),
}));
mDrawerSettingsListView.setItemChecked(mCurrentSelectedPosition, true);
@@ -321,6 +323,10 @@ public class NavigationDrawerFragment extends Fragment {
mTitle = getString(R.string.log_fragment_title);
fragment = new LogFragment();
break;
+ case 3:
+ mTitle = getString(R.string.about_fragment_title);
+ fragment = new AboutFragment();
+ break;
default:
mTitle = getString(R.string.vpn_fragment_title);
fragment = new VpnFragment();