Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
fixed some bugs, beta 2 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 6, 2019
1 parent 5d03f6e commit 20afe96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ public boolean onQueryTextSubmit(String query) {
assert locationManager != null;
Location location = locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
requestLocationPermission();
assert location != null;
if(!(location == null)){
lat = location.getLatitude();
log = location.getLongitude();
log = location.getLongitude();}
}
ArrayList<RssFeedModel> rssFeedModel2 = (new Search().main(query, Double.toString(lat), Double.toString(log), getApplicationContext(), MainActivity.this));
rssFeedModel1.addAll(0, rssFeedModel2);
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/andromeda/ara/search/Search.kt
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class Search {
val test1 = AraSearch().arrayOfOutputModels(searchMode1, log.toString(), lat.toString())
outputList = ApiOutputToRssFeed().main(test1)
println(outputList[0].out)
if(test1?.get(0)?.exes == ""){
val parsed = Parse().parse(test1.get(0).exes)
if(test1?.get(0)?.exes != ""){
val parsed = Parse().parse(test1?.get(0)?.exes)
RunActions().doIt(parsed, mainval, ctx, act)
}

Expand Down

0 comments on commit 20afe96

Please sign in to comment.