mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 04:17:12 +01:00
Clear search query in the search panel when closing it in ViewPostDetailActivity.
This commit is contained in:
parent
f7361b9518
commit
b856f5baeb
@ -430,6 +430,7 @@ public class ViewPostDetailActivity extends BaseActivity implements SortTypeSele
|
||||
return false;
|
||||
} else {
|
||||
searchPanelMaterialCardView.setVisibility(View.GONE);
|
||||
searchTextInputEditText.setText("");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ import android.text.Spanned;
|
||||
import android.text.TextPaint;
|
||||
import android.text.style.ClickableSpan;
|
||||
import android.text.util.Linkify;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@ -1075,7 +1074,6 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
|
||||
@Override
|
||||
public int getItemCount() {
|
||||
if (isInitiallyLoading || isInitiallyLoadingFailed || mVisibleComments.size() == 0) {
|
||||
Log.i("adfasdf", "sds");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user