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 | 7269b487798291869db0840a5f7cb0cf612512af (patch) | |
tree | a6c6b46d63991f74e692020e08b8c6ebd2cdc7bc /app/src/main | |
parent | 1bd57a62a5c3337ca41508481eab568a7a67c3da (diff) |
EditorFragment: show toast on creation too
Diffstat (limited to 'app/src/main')
-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); |