Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 85df10a

Browse files
committed
set default sort order
resolves #437
1 parent 88721f5 commit 85df10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public int compare(PasswordItem p1, PasswordItem p2) {
280280
}
281281

282282
public static PasswordSortOrder getSortOrder(SharedPreferences settings) {
283-
return valueOf(settings.getString("sort_order", null));
283+
return valueOf(settings.getString("sort_order", FOLDER_FIRST.name()));
284284
}
285285
}
286286
}

0 commit comments

Comments
 (0)