mirror of https://github.com/readrops/Readrops.git
Scroll to top when changing feed filter in the items list
This commit is contained in:
parent
3f7a879993
commit
c03e6ec3f4
|
@ -141,6 +141,7 @@ public class MainActivity extends AppCompatActivity implements SwipeRefreshLayou
|
|||
switch (id) {
|
||||
case DrawerManager.ARTICLES_ITEM_ID:
|
||||
viewModel.setFilterType(MainViewModel.FilterType.NO_FILTER);
|
||||
scrollToTop = true;
|
||||
viewModel.invalidate();
|
||||
break;
|
||||
case DrawerManager.READ_LATER_ID:
|
||||
|
|
Loading…
Reference in New Issue