From ca43dbcef1ba86da48d49181d4013a3d176b2428 Mon Sep 17 00:00:00 2001 From: Shradheya Thakre Date: Sun, 21 Jan 2018 15:36:36 +0800 Subject: [PATCH] Refactored function names --- app/src/main/java/fr/free/nrw/commons/AboutActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/fr/free/nrw/commons/AboutActivity.java b/app/src/main/java/fr/free/nrw/commons/AboutActivity.java index 309dfba95..52c337adc 100644 --- a/app/src/main/java/fr/free/nrw/commons/AboutActivity.java +++ b/app/src/main/java/fr/free/nrw/commons/AboutActivity.java @@ -37,7 +37,7 @@ public class AboutActivity extends NavigationBaseActivity { initDrawer(); } - public void getOpenFacebookIntent(View view) { + public void launchFacebook(View view) { Intent intent; 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\\")); 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/\\")); startActivity(browserIntent);