mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -70,8 +70,6 @@ public class AllMediaDocumentsFragment
|
||||
this.noMedia = ViewUtil.findById(view, R.id.no_documents);
|
||||
this.gridManager = new StickyHeaderGridLayoutManager(1);
|
||||
|
||||
// allow content to be drawn behind the navigation bar
|
||||
recyclerView.setClipToPadding(false);
|
||||
// add padding to avoid content hidden behind system bars
|
||||
ViewUtil.applyWindowInsets(recyclerView, true, false, true, true);
|
||||
|
||||
|
||||
@@ -66,8 +66,6 @@ public class AllMediaGalleryFragment
|
||||
this.noMedia = ViewUtil.findById(view, R.id.no_images);
|
||||
this.gridManager = new StickyHeaderGridLayoutManager(getCols());
|
||||
|
||||
// allow content to be drawn behind the navigation bar
|
||||
recyclerView.setClipToPadding(false);
|
||||
// add padding to avoid content hidden behind system bars
|
||||
ViewUtil.applyWindowInsets(recyclerView, true, false, true, true);
|
||||
|
||||
|
||||
@@ -60,8 +60,6 @@ public class BlockedContactsActivity extends PassphraseRequiredActionBarActivity
|
||||
recyclerView = ViewUtil.findById(view, R.id.recycler_view);
|
||||
recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
||||
|
||||
// allow content to be drawn behind the navigation bar
|
||||
recyclerView.setClipToPadding(false);
|
||||
// add padding to avoid content hidden behind system bars
|
||||
ViewUtil.applyWindowInsets(recyclerView);
|
||||
|
||||
|
||||
@@ -114,8 +114,6 @@ public class ContactSelectionListFragment extends Fragment
|
||||
|
||||
recyclerView = ViewUtil.findById(view, R.id.recycler_view);
|
||||
|
||||
// allow content to be drawn behind the navigation bar
|
||||
recyclerView.setClipToPadding(false);
|
||||
// add padding to avoid content hidden behind system bars
|
||||
ViewUtil.applyWindowInsets(recyclerView, true, false, true, true);
|
||||
|
||||
|
||||
@@ -108,8 +108,6 @@ public class ConversationListFragment extends BaseConversationListFragment
|
||||
emptyState = ViewUtil.findById(view, R.id.empty_state);
|
||||
emptySearch = ViewUtil.findById(view, R.id.empty_search);
|
||||
|
||||
// allow content to be drawn behind the navigation bar
|
||||
list.setClipToPadding(false);
|
||||
// add padding to avoid content hidden behind system bars
|
||||
ViewUtil.applyWindowInsets(list, true, archive, true, true);
|
||||
|
||||
|
||||
@@ -69,8 +69,6 @@ public class ProfileFragment extends Fragment
|
||||
|
||||
RecyclerView list = ViewUtil.findById(view, R.id.recycler_view);
|
||||
|
||||
// allow content to be drawn behind the navigation bar
|
||||
list.setClipToPadding(false);
|
||||
// add padding to avoid content hidden behind system bars
|
||||
ViewUtil.applyWindowInsets(list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user