mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-12-18 08:32:24 +03:00
Update Sort Method Icon null reference fix
This commit is contained in:
parent
d0314dab57
commit
3f2161fe96
1 changed files with 3 additions and 0 deletions
|
@ -622,6 +622,9 @@ public class MainActivity extends LockedActivity implements NoteClickListener, A
|
|||
* Updates sorting method icon.
|
||||
*/
|
||||
private void updateSortMethodIcon(CategorySortingMethod method) {
|
||||
if (method == null)
|
||||
method = CategorySortingMethod.SORT_MODIFIED_DESC;
|
||||
|
||||
switch (method){
|
||||
case SORT_MODIFIED_DESC :
|
||||
activityBinding.sortingMethod.setImageResource(R.drawable.modification_desc);
|
||||
|
|
Loading…
Reference in a new issue