release notes
This commit is contained in:
parent
0950bbb415
commit
2636b86e3e
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
- Filter searches
|
Loading…
Reference in New Issue