Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix incorrect wording on sort dialog

ammarahm-edcbd4979b7400
diff --git a/apps/mobile/src/components/SortDialog/index.js b/apps/mobile/src/components/SortDialog/index.js
index d0e23db77..efe82477c 100644
--- a/apps/mobile/src/components/SortDialog/index.js
+++ b/apps/mobile/src/components/SortDialog/index.js
@@ -105,10 +105,10 @@ class SortDialog extends React.Component {
title={
groupOptions.sortDirection === 'asc'
? groupOptions.groupBy === 'abc'
- ? 'Z - A'
+ ? 'A - Z'
: 'Oldest - Newest'
: groupOptions.groupBy === 'abc'
- ? 'A - Z'
+ ? 'Z - A'
: 'Newest - Oldest'
}
icon={
@@ -195,7 +195,6 @@ class SortDialog extends React.Component {
...groupOptions,
groupBy: GROUP[item]
};
-
if (item === 'alphabetical') {
_groupOptions.sortBy = 'title';