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