From d4f35f2c74c3eabbb6a3f63efc3484fe22039ef4 Mon Sep 17 00:00:00 2001 From: Prajeen Govardhanam <32291277+prajgov@users.noreply.github.com> Date: Fri, 22 Dec 2017 12:05:11 +0530 Subject: [PATCH] Update WelcomeActivity.java --- .../fr/free/nrw/commons/WelcomeActivity.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/fr/free/nrw/commons/WelcomeActivity.java b/app/src/main/java/fr/free/nrw/commons/WelcomeActivity.java index 17c4be137..72d122e77 100644 --- a/app/src/main/java/fr/free/nrw/commons/WelcomeActivity.java +++ b/app/src/main/java/fr/free/nrw/commons/WelcomeActivity.java @@ -18,16 +18,6 @@ public class WelcomeActivity extends BaseActivity { private WelcomePagerAdapter adapter = new WelcomePagerAdapter(); - /** - * Creates a way to change current activity to WelcomeActivity - * - * @param context Activity context - */ - public static void startYourself(Context context) { - Intent welcomeIntent = new Intent(context, WelcomeActivity.class); - context.startActivity(welcomeIntent); - } - /** * Initialises exiting fields and dependencies * @@ -53,4 +43,14 @@ public class WelcomeActivity extends BaseActivity { adapter.setCallback(null); super.onDestroy(); } + + /** + * Creates a way to change current activity to WelcomeActivity + * + * @param context Activity context + */ + public static void startYourself(Context context) { + Intent welcomeIntent = new Intent(context, WelcomeActivity.class); + context.startActivity(welcomeIntent); + } }