Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
evilbunny2008 committed May 1, 2021
1 parent 3098e72 commit 89d075f
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -7,8 +7,8 @@ android {
minSdkVersion 19
//noinspection OldTargetApi
targetSdkVersion 29
versionCode 9009
versionName "0.9.9"
versionCode 9010
versionName "0.9.10"
}
buildTypes {
release {
Expand Down
7 changes: 6 additions & 1 deletion app/src/main/java/com/odiousapps/weewxweather/Common.java
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,12 @@ String downloadForecast() throws Exception

String downloadForecast(String fctype, String forecast, String bomtown) throws Exception
{
String tmp = downloadString2(forecast);
String tmp;

if(!fctype.equals("bom2"))
tmp = downloadString(forecast);
else
tmp = downloadString2(forecast);

if(fctype.equals("bom.gov.au"))
{
Expand Down

0 comments on commit 89d075f

Please sign in to comment.