Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 37c3804

Browse files
Sam1301kunall17
authored andcommitted
Dismiss progress dialog if server url is invalid.
1 parent a54f322 commit 37c3804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/zulip/android/activities/LoginActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ private void showBackends(String httpScheme, String serverURL) {
278278

279279
if (!isUrlValid(serverURL)) {
280280
Toast.makeText(LoginActivity.this, R.string.invalid_url, Toast.LENGTH_SHORT).show();
281+
commonProgressDialog.dismiss();
281282
return;
282283
}
283284

0 commit comments

Comments
 (0)