summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/NewProviderDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/se/leap/leapclient/NewProviderDialog.java')
-rw-r--r--src/se/leap/leapclient/NewProviderDialog.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/se/leap/leapclient/NewProviderDialog.java b/src/se/leap/leapclient/NewProviderDialog.java
index 09e7453a..88e4711c 100644
--- a/src/se/leap/leapclient/NewProviderDialog.java
+++ b/src/se/leap/leapclient/NewProviderDialog.java
@@ -8,8 +8,6 @@ import android.content.DialogInterface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
-import android.view.ViewGroup;
-import android.webkit.WebView.FindListener;
import android.widget.EditText;
import android.widget.Toast;
@@ -52,10 +50,10 @@ public class NewProviderDialog extends DialogFragment {
String entered_url = url_input_field.getText().toString().trim();
if(validURL(entered_url)) {
interface_with_ConfigurationWizard.saveProvider(entered_url);
- Toast.makeText(getActivity().getApplicationContext(), "Valid URL", Toast.LENGTH_LONG).show();
+ Toast.makeText(getActivity().getApplicationContext(), "It seems your URL is well formed", Toast.LENGTH_LONG).show();
} else {
url_input_field.setText("");
- Toast.makeText(getActivity().getApplicationContext(), "Not valid URL", Toast.LENGTH_LONG).show();
+ Toast.makeText(getActivity().getApplicationContext(), "It seems your URL is not well formed", Toast.LENGTH_LONG).show();
}
}
})