Skip to content

Commit

Permalink
Wrong condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Exenifix committed May 3, 2022
1 parent b4c2e24 commit 97abcbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private void onSetServerButtonClick(View v) {
Toast.makeText(this, "Server field must not be empty!", Toast.LENGTH_SHORT).show();
return;
}
if (newUrl.endsWith("/")) {
if (!newUrl.endsWith("/")) {
newUrl += "/";
}
serverURL = newUrl;
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.1.2' apply false
id 'com.android.library' version '7.1.2' apply false
id 'com.android.application' version '7.1.3' apply false
id 'com.android.library' version '7.1.3' apply false
}

task clean(type: Delete) {
Expand Down

0 comments on commit 97abcbb

Please # to comment.