From f5b484e2f200964acd832d7103711c267fbc388d Mon Sep 17 00:00:00 2001 From: Kaushal Date: Sun, 20 May 2018 11:38:14 +0530 Subject: [PATCH] Minor cosmetic changes --- .../udacityscholarsapp/ui/settings/SettingsFragment.java | 2 +- app/src/main/res/values/strings.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/developervishalsehgal/udacityscholarsapp/ui/settings/SettingsFragment.java b/app/src/main/java/com/developervishalsehgal/udacityscholarsapp/ui/settings/SettingsFragment.java index fd1d2ddc..261e2b48 100644 --- a/app/src/main/java/com/developervishalsehgal/udacityscholarsapp/ui/settings/SettingsFragment.java +++ b/app/src/main/java/com/developervishalsehgal/udacityscholarsapp/ui/settings/SettingsFragment.java @@ -87,7 +87,7 @@ private void showSignOutAlert() { DataHandlerProvider.provide().destroy(); Intent signInIntent = new Intent(getActivity(), SignInActivity.class); startActivity(signInIntent); - getActivity().finish(); + getActivity().finishAffinity(); } } catch (Exception e) { e.printStackTrace(); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e4e317c1..9173a6ab 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -145,8 +145,8 @@ Dark Light - Get notifications - Enable to receive notifications for quizzes + Get All Notifications + Enable to receive notifications Theme Sign out