mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 23:05:17 +00:00
fix typo
This commit is contained in:
parent
e27c66d8af
commit
93b4c29060
ui
app/AppLayouts/Chat/ChatColumn
imports
@ -119,13 +119,13 @@ Popup {
|
|||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
switch (model.notificationType) {
|
switch (model.notificationType) {
|
||||||
case Constants.acitivtyCenterNotificationTypeMention:
|
case Constants.activityCenterNotificationTypeMention:
|
||||||
if (!hasMentions) {
|
if (!hasMentions) {
|
||||||
hasMentions = true
|
hasMentions = true
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|
||||||
case Constants.acitivtyCenterNotificationTypeReply:
|
case Constants.activityCenterNotificationTypeReply:
|
||||||
if (!hasReplies) {
|
if (!hasReplies) {
|
||||||
hasReplies = true
|
hasReplies = true
|
||||||
}
|
}
|
||||||
@ -142,8 +142,8 @@ Popup {
|
|||||||
height: active && item.visible ? item.height : 0
|
height: active && item.visible ? item.height : 0
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
switch (model.notificationType) {
|
switch (model.notificationType) {
|
||||||
case Constants.acitivtyCenterNotificationTypeMention:return messageNotificationComponent
|
case Constants.activityCenterNotificationTypeMention:return messageNotificationComponent
|
||||||
case Constants.acitivtyCenterNotificationTypeReply: return messageNotificationComponent
|
case Constants.activityCenterNotificationTypeReply: return messageNotificationComponent
|
||||||
default: return null
|
default: return null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -159,8 +159,8 @@ Popup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return activityCenter.currentFilter === ActivityCenter.Filter.All ||
|
return activityCenter.currentFilter === ActivityCenter.Filter.All ||
|
||||||
(model.notificationType === Constants.acitivtyCenterNotificationTypeMention && activityCenter.currentFilter === ActivityCenter.Filter.Mentions) ||
|
(model.notificationType === Constants.activityCenterNotificationTypeMention && activityCenter.currentFilter === ActivityCenter.Filter.Mentions) ||
|
||||||
(model.notificationType === Constants.acitivtyCenterNotificationTypeReply && activityCenter.currentFilter === ActivityCenter.Filter.Replies)
|
(model.notificationType === Constants.activityCenterNotificationTypeReply && activityCenter.currentFilter === ActivityCenter.Filter.Replies)
|
||||||
}
|
}
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: childrenRect.height + Style.current.smallPadding
|
height: childrenRect.height + Style.current.smallPadding
|
||||||
|
@ -34,8 +34,8 @@ Rectangle {
|
|||||||
height: parent.height
|
height: parent.height
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
switch (model.notificationType) {
|
switch (model.notificationType) {
|
||||||
case Constants.acitivtyCenterNotificationTypeMention: return channelComponent
|
case Constants.activityCenterNotificationTypeMention: return channelComponent
|
||||||
case Constants.acitivtyCenterNotificationTypeReply: return replyComponent
|
case Constants.activityCenterNotificationTypeReply: return replyComponent
|
||||||
default: return channelComponent
|
default: return channelComponent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,8 +14,8 @@ QtObject {
|
|||||||
readonly property int communityChatOnRequestAccess: 3
|
readonly property int communityChatOnRequestAccess: 3
|
||||||
|
|
||||||
|
|
||||||
readonly property int acitivtyCenterNotificationTypeMention: 3
|
readonly property int activityCenterNotificationTypeMention: 3
|
||||||
readonly property int acitivtyCenterNotificationTypeReply: 4
|
readonly property int activityCenterNotificationTypeReply: 4
|
||||||
|
|
||||||
readonly property int maxNbDaysToFetch: 30
|
readonly property int maxNbDaysToFetch: 30
|
||||||
readonly property int fetchRangeLast24Hours: 86400
|
readonly property int fetchRangeLast24Hours: 86400
|
||||||
|
Loading…
x
Reference in New Issue
Block a user