Fixed default sort method not showing up as selected (#3926)

This commit is contained in:
JessieVela 2020-03-13 15:55:26 -07:00 committed by GitHub
parent 5bb1942c07
commit de92fd6d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ public abstract class IntraFeedSortDialog {
values[i] = SortOrder.valueOf(valueStrs[i]);
}
int idxCurrentSort = -1;
int idxCurrentSort = 0;
for (int i = 0; i < values.length; i++) {
if (currentSortOrder == values[i]) {
idxCurrentSort = i;