fixed issues after rebase
This commit is contained in:
parent
59f604349c
commit
05cf431339
|
@ -164,7 +164,7 @@ StatusAppThreePanelLayout {
|
|||
sourceComponent: localAccountSensitiveSettings.communitiesEnabled && root.rootStore.chatsModelInst.communities.activeCommunity.active ? communtiyColumnComponent : contactsColumnComponent
|
||||
}
|
||||
|
||||
centerPanel: ChatColumn {
|
||||
centerPanel: ChatColumnView {
|
||||
id: chatColumn
|
||||
chatGroupsListViewCount: contactColumnLoader.item.chatGroupsListViewCount
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@ import StatusQ.Controls 0.1
|
|||
|
||||
import utils 1.0
|
||||
|
||||
import "../../../../shared"
|
||||
import "../../../../shared/popups"
|
||||
import shared 1.0
|
||||
import shared.popups 1.0
|
||||
import "../panels"
|
||||
import "../stores"
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ Rectangle {
|
|||
}
|
||||
StyledText {
|
||||
id: timeValue
|
||||
text: new Date(parseInt(timestamp)).toLocaleString(globalSettings.locale)
|
||||
text: new Date(parseInt(timestamp)).toLocaleString(localAppSettings.locale)
|
||||
font.pixelSize: Style.current.primaryTextFontSize
|
||||
anchors.rightMargin: Style.current.smallPadding
|
||||
}
|
||||
|
|
|
@ -567,23 +567,24 @@ Item {
|
|||
onNotificationClicked: {
|
||||
applicationWindow.makeStatusAppActive()
|
||||
|
||||
switch(notificationType){
|
||||
case Constants.osNotificationType.newContactRequest:
|
||||
appView.currentIndex = Utils.getAppSectionIndex(Constants.chat)
|
||||
appMain.openContactsPopup()
|
||||
break
|
||||
case Constants.osNotificationType.acceptedContactRequest:
|
||||
appView.currentIndex = Utils.getAppSectionIndex(Constants.chat)
|
||||
break
|
||||
case Constants.osNotificationType.joinCommunityRequest:
|
||||
case Constants.osNotificationType.acceptedIntoCommunity:
|
||||
case Constants.osNotificationType.rejectedByCommunity:
|
||||
appView.currentIndex = Utils.getAppSectionIndex(Constants.community)
|
||||
break
|
||||
case Constants.osNotificationType.newMessage:
|
||||
appView.currentIndex = Utils.getAppSectionIndex(Constants.chat)
|
||||
break
|
||||
}
|
||||
// This is not handled yet.
|
||||
// switch(notificationType){
|
||||
// case Constants.osNotificationType.newContactRequest:
|
||||
// appView.currentIndex = Utils.getAppSectionIndex(Constants.chat)
|
||||
// appMain.openContactsPopup()
|
||||
// break
|
||||
// case Constants.osNotificationType.acceptedContactRequest:
|
||||
// appView.currentIndex = Utils.getAppSectionIndex(Constants.chat)
|
||||
// break
|
||||
// case Constants.osNotificationType.joinCommunityRequest:
|
||||
// case Constants.osNotificationType.acceptedIntoCommunity:
|
||||
// case Constants.osNotificationType.rejectedByCommunity:
|
||||
// appView.currentIndex = Utils.getAppSectionIndex(Constants.community)
|
||||
// break
|
||||
// case Constants.osNotificationType.newMessage:
|
||||
// appView.currentIndex = Utils.getAppSectionIndex(Constants.chat)
|
||||
// break
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue