From 64ce6cd5a26ee0ffb2826e09cc03302bfb7bcddc Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 27 May 2018 04:08:23 +0200 Subject: EditorFragment: show toast on creation too Signed-off-by: Jason A. Donenfeld --- .../main/java/com/wireguard/android/fragment/TunnelEditorFragment.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/java/com') diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java index 1dc3f907..5eeb720e 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java @@ -169,6 +169,7 @@ public class TunnelEditorFragment extends BaseFragment { tunnel = newTunnel; message = getString(R.string.tunnel_create_success, tunnel.getName()); Log.d(TAG, message); + Toast.makeText(getContext(), message, Toast.LENGTH_SHORT).show(); onFinished(); } else { final String error = ExceptionLoggers.unwrapMessage(throwable); -- cgit v1.2.3