mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
codacy: could be replaced by a local variable
This commit is contained in:
parent
f7257af2c2
commit
4440e1e192
@ -113,8 +113,6 @@ public class CallsListController extends BaseController implements SearchView.On
|
||||
@BindView(R.id.fast_scroller)
|
||||
FastScroller fastScroller;
|
||||
|
||||
private SmoothScrollLinearLayoutManager layoutManager;
|
||||
|
||||
private UserEntity userEntity;
|
||||
private Disposable roomsQueryDisposable;
|
||||
private FlexibleAdapter<CallItem> adapter;
|
||||
@ -332,7 +330,8 @@ public class CallsListController extends BaseController implements SearchView.On
|
||||
}
|
||||
|
||||
private void prepareViews() {
|
||||
layoutManager = new SmoothScrollLinearLayoutManager(getActivity());
|
||||
SmoothScrollLinearLayoutManager layoutManager =
|
||||
new SmoothScrollLinearLayoutManager(getActivity());
|
||||
recyclerView.setLayoutManager(layoutManager);
|
||||
recyclerView.setHasFixedSize(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user