set default sort order

resolves #437
This commit is contained in:
حسين
2018-10-17 21:09:32 +01:00
parent 88721f5905
commit 85df10af04

View File

@@ -280,7 +280,7 @@ public class PasswordRepository {
} }
public static PasswordSortOrder getSortOrder(SharedPreferences settings) { public static PasswordSortOrder getSortOrder(SharedPreferences settings) {
return valueOf(settings.getString("sort_order", null)); return valueOf(settings.getString("sort_order", FOLDER_FIRST.name()));
} }
} }
} }