mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
Use filename comparison when both Notes don't have modified/created
This commit is contained in:
@ -62,7 +62,7 @@ class SortingMode {
|
||||
return -1;
|
||||
}
|
||||
if (bDt == null || aDt == null) {
|
||||
return 0;
|
||||
return b.fileName.compareTo(a.fileName);
|
||||
}
|
||||
return bDt.compareTo(aDt);
|
||||
};
|
||||
@ -79,7 +79,7 @@ class SortingMode {
|
||||
return -1;
|
||||
}
|
||||
if (bDt == null || aDt == null) {
|
||||
return 0;
|
||||
return b.fileName.compareTo(a.fileName);
|
||||
}
|
||||
return bDt.compareTo(aDt);
|
||||
};
|
||||
|
Reference in New Issue
Block a user