From 2d029b9f761b5a4f684a12621c6bb260616f4b4e Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sun, 5 Aug 2018 13:13:04 +0200 Subject: [PATCH] fix exception when loading premium videos --- app/build.gradle | 2 +- .../schabi/newpipe/fragments/list/search/SearchFragment.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ad3404b9f..1a7029c4e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -54,7 +54,7 @@ dependencies { exclude module: 'support-annotations' } - implementation 'com.github.TeamNewPipe:NewPipeExtractor:1eff8c5708' + implementation 'com.github.TeamNewPipe:NewPipeExtractor:701666f4982514' testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:2.8.9' diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java index 411379963..fbea95ec0 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/search/SearchFragment.java @@ -575,8 +575,7 @@ public class SearchFragment .onNext(searchEditText.getText().toString()), throwable -> showSnackBarError(throwable, UserAction.DELETE_FROM_HISTORY, "none", - "Deleting item failed", R.string.general_error) - ); + "Deleting item failed", R.string.general_error)); disposables.add(onDelete); }) .show();