diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-27 04:08:23 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-27 04:08:23 +0200 |
commit | 64ce6cd5a26ee0ffb2826e09cc03302bfb7bcddc (patch) | |
tree | a6c6b46d63991f74e692020e08b8c6ebd2cdc7bc /app/src | |
parent | 5476fc2228be2bfcadc680c1915f54d1b87a2604 (diff) |
EditorFragment: show toast on creation too
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); |