Change to Almman indent style

This commit is contained in:
Angela Mazzurco 2017-06-13 14:51:53 +02:00
parent 4b05555a5c
commit 9f26a0aec5
6 changed files with 98 additions and 61 deletions

View file

@ -101,7 +101,8 @@ Item
TokensManager.registerToken(json.statetoken, refreshUnread)
contactsSortWorker.sendMessage(
{'action': 'refreshUnread', 'response': par.response})
json.data.forEach (function (chat){
json.data.forEach (function (chat)
{
ChatCache.lastMessageCache.updateLastMessageCache(chat.chat_id)
ChatCache.lastMessageCache.setRemoteGXS (chat.chat_id, { gxs: chat.remote_author_id, name: chat.remote_author_name})
})
@ -176,13 +177,14 @@ Item
width: parent.width - searchIcon.width - 5
anchors.leftMargin: 5
background: Rectangle {
background: Rectangle
{
border.width: 2
radius: 5
border.color: searchText.focus ? "cornflowerblue" : "lightgrey"
color: searchText.focus ? "white" : "ghostwhite"
}
onTextChanged:
contactsSortWorker.sendMessage(
{'action': 'searchContact', 'sexp': text})