mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 00:00:44 -04:00
Call toolbar change state when pop stackview
This commit is contained in:
parent
d19950f0df
commit
80cc1b4520
3 changed files with 16 additions and 10 deletions
|
@ -58,12 +58,16 @@ Item
|
|||
Component.onCompleted:
|
||||
{
|
||||
refreshData()
|
||||
}
|
||||
onFocusChanged: focus && refreshData()
|
||||
|
||||
function changeState ()
|
||||
{
|
||||
toolBar.state = "CHATVIEW"
|
||||
gxsInfo= ChatCache.lastMessageCache.getGxsFromChatId(chatView.chatId)
|
||||
toolBar.titleText = gxsInfo.name
|
||||
toolBar.loaderSource = userHash
|
||||
}
|
||||
onFocusChanged: focus && refreshData()
|
||||
|
||||
Component
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue