1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Mobile: For now, make notebooks sorted by title

This commit is contained in:
Laurent Cozic 2019-03-10 20:30:31 +00:00
parent f962084591
commit 0d8878abd3

View File

@ -429,6 +429,11 @@ async function initialize(dispatch) {
reg.logger().info('db.ftsEnabled = ', Setting.value('db.ftsEnabled'));
}
// Note: for now we hard-code the folder sort order as we need to
// create a UI to allow customisation (started in branch mobile_add_sidebar_buttons)
Setting.setValue('folders.sortOrder.field', 'title');
Setting.setValue('folders.sortOrder.reverse', false);
reg.logger().info('Sync target: ' + Setting.value('sync.target'));
setLocale(Setting.value('locale'));