Skip to content

Commit

Permalink
ScAsk
Browse files Browse the repository at this point in the history
  • Loading branch information
sashaqwert committed Mar 19, 2018
1 parent ac51b29 commit b8721e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "ru.sccraft.scask"
minSdkVersion 17
targetSdkVersion 27
versionCode 12
versionName "1.0"
versionCode 13
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/ru/sccraft/scask/DownloadActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private class Get extends AsyncTask<Void, Void, Boolean> {
@Override
protected Boolean doInBackground(Void... voids) {
настройки = PreferenceManager.getDefaultSharedPreferences(a);
String server = настройки.getString("settings_sync_server", "http://sccraft.ru/android-app/scask/questions");
String server = настройки.getString("settings_sync_server", a.getString(R.string.sync_server));
String[] JSON = NetGet.getMultiLine(server + ".scask");
if (JSON.length == 0) return false;
try {
Expand Down

0 comments on commit b8721e6

Please sign in to comment.