Fix privacy policy opening

This commit is contained in:
William Brawner 2018-10-01 17:52:37 -05:00
parent 603206f3f8
commit c5a6b27c17

View file

@ -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;