diff --git a/app/src/main/java/org/libre/agosto/p2play/MainActivity.kt b/app/src/main/java/org/libre/agosto/p2play/MainActivity.kt index 7143899..5cd195f 100644 --- a/app/src/main/java/org/libre/agosto/p2play/MainActivity.kt +++ b/app/src/main/java/org/libre/agosto/p2play/MainActivity.kt @@ -236,6 +236,8 @@ class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelecte override fun onQueryTextSubmit(p0: String?): Boolean { if(!p0.isNullOrBlank()){ searchVal = p0 + pagination = 0 + searchView.onActionViewCollapsed() searchVideos() } return true diff --git a/app/src/main/java/org/libre/agosto/p2play/ajax/Videos.kt b/app/src/main/java/org/libre/agosto/p2play/ajax/Videos.kt index ed077f6..86c518b 100644 --- a/app/src/main/java/org/libre/agosto/p2play/ajax/Videos.kt +++ b/app/src/main/java/org/libre/agosto/p2play/ajax/Videos.kt @@ -107,8 +107,6 @@ class Videos: Client() { } } catch(err:Exception){ err?.printStackTrace() - Log.d("TypeErr",err?.message ,err.cause) - Log.d("Error","fallo la coneccion") } return videos } @@ -137,8 +135,6 @@ class Videos: Client() { } } catch(err:Exception){ err?.printStackTrace() - Log.d("TypeErr",err?.message ,err.cause) - Log.d("Error","fallo la coneccion") } return videos } @@ -155,8 +151,6 @@ class Videos: Client() { } } catch(err:Exception){ err?.printStackTrace() - Log.d("TypeErr",err?.message ,err.cause) - Log.d("Error","fallo la coneccion") } return videos } @@ -174,8 +168,6 @@ class Videos: Client() { } } catch(err:Exception){ err?.printStackTrace() - Log.d("TypeErr",err?.message ,err.cause) - Log.d("Error","fallo la coneccion") } return videos }