Refactored function names

This commit is contained in:
Shradheya Thakre 2018-01-21 15:36:36 +08:00
parent 9b9a577b00
commit ca43dbcef1

View file

@ -37,7 +37,7 @@ public class AboutActivity extends NavigationBaseActivity {
initDrawer(); initDrawer();
} }
public void getOpenFacebookIntent(View view) { public void launchFacebook(View view) {
Intent intent; Intent intent;
try { try {
@ -50,13 +50,13 @@ public class AboutActivity extends NavigationBaseActivity {
} }
public void getOpenGithubIntent(View view) { public void launchGithub(View view) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/commons-app/apps-android-commons\\")); Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/commons-app/apps-android-commons\\"));
startActivity(browserIntent); startActivity(browserIntent);
} }
public void getOpenWebsiteIntent(View view) { public void launchWebsite(View view) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://commons-app.github.io/\\")); Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://commons-app.github.io/\\"));
startActivity(browserIntent); startActivity(browserIntent);