diff --git a/WordPress/src/main/java/org/wordpress/android/ui/prefs/AccountSettingsFragment.java b/WordPress/src/main/java/org/wordpress/android/ui/prefs/AccountSettingsFragment.java index f04dabaac736..8b02ac8304e5 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/prefs/AccountSettingsFragment.java +++ b/WordPress/src/main/java/org/wordpress/android/ui/prefs/AccountSettingsFragment.java @@ -42,6 +42,7 @@ import org.wordpress.android.util.NetworkUtils; import org.wordpress.android.util.SiteUtils; import org.wordpress.android.util.ToastUtils; +import org.wordpress.android.widgets.WPSnackbar; import java.util.ArrayList; import java.util.HashMap; @@ -372,10 +373,9 @@ private void showUsernameChangerFragment() { String username = result.getString(BaseUsernameChangerFullScreenDialogFragment.RESULT_USERNAME); if (username != null) { - ToastUtils.showToast(getActivity(), + WPSnackbar.make(getView(), String.format(getString(R.string.settings_username_changer_toast_content), username), - ToastUtils.Duration.LONG); - + Snackbar.LENGTH_LONG).show(); mUsernamePreference.setSummary(username); } }