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