release notes

This commit is contained in:
Thomas 2020-07-24 08:53:16 +02:00
parent 0950bbb415
commit 2636b86e3e
4 changed files with 8 additions and 4 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId "app.fedilab.fedilabtube"
minSdkVersion 21
targetSdkVersion 29
versionCode 2
versionName "1.0.1"
versionCode 3
versionName "1.0.2"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -79,7 +79,8 @@ public class MainActivity extends AppCompatActivity {
public boolean onQueryTextSubmit(String query) {
Intent intent = new Intent(MainActivity.this, SearchActivity.class);
Bundle b = new Bundle();
b.putString("search", query.trim());
String search = query.trim();
b.putString("search", search);
intent.putExtras(b);
startActivity(intent);
if (!searchView.isIconified()) {

View File

@ -1778,8 +1778,10 @@ public class PeertubeAPI {
JSONObject resobj = jsonArray.getJSONObject(i);
Peertube peertube = parsePeertube(resobj);
i++;
if (peertube.getName() == null || !peertube.getName().toLowerCase().contains("youtube video downloader")) {
peertubes.add(peertube);
}
}
} catch (JSONException e) {
setDefaultError(e);
}

View File

@ -0,0 +1 @@
- Filter searches