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" applicationId "app.fedilab.fedilabtube"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 2 versionCode 3
versionName "1.0.1" versionName "1.0.2"
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

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

View File

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

View File

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