set default sort order

resolves #437
This commit is contained in:
حسين 2018-10-17 21:09:32 +01:00
parent 88721f5905
commit 85df10af04
No known key found for this signature in database
GPG Key ID: B14B8E108F5E6329

View File

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