Fix privacy policy opening
This commit is contained in:
parent
603206f3f8
commit
c5a6b27c17
1 changed files with 7 additions and 0 deletions
|
@ -126,6 +126,9 @@ public class MainActivity extends AppCompatActivity
|
|||
case R.id.action_libraries:
|
||||
showInfoActivity(R.id.action_libraries);
|
||||
break;
|
||||
case R.id.action_privacy:
|
||||
showInfoActivity(R.id.action_privacy);
|
||||
break;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
@ -143,6 +146,10 @@ public class MainActivity extends AppCompatActivity
|
|||
fileName = "Libraries.md";
|
||||
title = getString(R.string.action_libraries);
|
||||
break;
|
||||
case R.id.action_privacy:
|
||||
fileName = "Privacy Policy.md";
|
||||
title = getString(R.string.action_privacy);
|
||||
break;
|
||||
}
|
||||
infoIntent.putExtra("title", title);
|
||||
InputStream in = null;
|
||||
|
|
Loading…
Reference in a new issue