fix: connect to dev plugin with wrong host
This commit is contained in:
@@ -8,8 +8,8 @@ android {
|
|||||||
applicationId "com.stardust.scriptdroid"
|
applicationId "com.stardust.scriptdroid"
|
||||||
minSdkVersion 17
|
minSdkVersion 17
|
||||||
targetSdkVersion 23
|
targetSdkVersion 23
|
||||||
versionCode 238
|
versionCode 239
|
||||||
versionName "3.0.0 Alpha38"
|
versionName "3.0.0 Alpha39"
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
ndk {
|
ndk {
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ public class DrawerFragment extends android.support.v4.app.Fragment {
|
|||||||
.title(R.string.text_server_address)
|
.title(R.string.text_server_address)
|
||||||
.input("", host, (dialog, input) -> {
|
.input("", host, (dialog, input) -> {
|
||||||
Pref.saveServerAddress(input.toString());
|
Pref.saveServerAddress(input.toString());
|
||||||
DevPluginService.getInstance().connectToServer(host);
|
DevPluginService.getInstance().connectToServer(input.toString());
|
||||||
})
|
})
|
||||||
.neutralText(R.string.text_help)
|
.neutralText(R.string.text_help)
|
||||||
.onNeutral((dialog, which) -> {
|
.onNeutral((dialog, which) -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user