Skip to content

Commit

Permalink
Renamed the weeWx extension to Inigo after meteorologist Inigo Owen J…
Browse files Browse the repository at this point in the history
…ones
  • Loading branch information
evilbunny2008 committed May 19, 2018
1 parent 3ef2ed5 commit d6ff33a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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 "com.odiousapps.weewxweather"
minSdkVersion 16
targetSdkVersion 26
versionCode 3018
versionName "0.3.18"
versionCode 3019
versionName "0.3.19"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected void onCreate(Bundle savedInstanceState)
private void doSettings()
{
settingsURL = findViewById(R.id.settings);
settingsURL.setText(common.GetStringPref("SETTINGS_URL", "https://example.com/weewx/settings.txt"));
settingsURL.setText(common.GetStringPref("SETTINGS_URL", "https://example.com/weewx/inigo-settings.txt"));
settingsURL.setOnFocusChangeListener(new View.OnFocusChangeListener()
{
@Override
Expand Down Expand Up @@ -409,7 +409,7 @@ public void run()
RadioButton showRadar = findViewById(R.id.showRadar);
int curtime = Math.round(System.currentTimeMillis() / 1000);

if (settingsURL.getText().toString().equals("https://example.com/weewx/settings.txt") || settingsURL.getText().toString().equals(""))
if (settingsURL.getText().toString().equals("https://example.com/weewx/inigo-settings.txt") || settingsURL.getText().toString().equals(""))
{
handlerSettings.sendEmptyMessage(0);
return;
Expand All @@ -418,7 +418,7 @@ public void run()
try
{
Uri uri = Uri.parse(settingsURL.getText().toString());
Common.LogMessage("settings.txt == " + settingsURL.getText().toString());
Common.LogMessage("inigo-settings.txt == " + settingsURL.getText().toString());
common.SetStringPref("SETTINGS_URL", settingsURL.getText().toString());
if (uri.getUserInfo() != null && uri.getUserInfo().contains(":"))
{
Expand Down Expand Up @@ -816,7 +816,7 @@ public void handleMessage(Message msg)
dialog.dismiss();
new AlertDialog.Builder(common.context)
.setTitle("Invalid URL")
.setMessage("Wasn't able to connect or download settings.txt from your server")
.setMessage("Wasn't able to connect or download the settings from your server")
.setPositiveButton("I'll Fix It and Try Again", new DialogInterface.OnClickListener()
{
@Override
Expand Down

0 comments on commit d6ff33a

Please sign in to comment.