mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-16 01:27:01 +00:00
chore: remove unused loadingHistoryMessagesInProgress
property
`loadingHistoryMessagesInProgress` was moved to content module but the property was never removed from the messages module view see: fc24f16525e6f71b3a00848b4efd94543753ac0b
This commit is contained in:
parent
ec8c64d7a1
commit
9ce9598a83
@ -10,7 +10,6 @@ QtObject:
|
|||||||
model: Model
|
model: Model
|
||||||
modelVariant: QVariant
|
modelVariant: QVariant
|
||||||
initialMessagesLoaded: bool
|
initialMessagesLoaded: bool
|
||||||
loadingHistoryMessagesInProgress: bool
|
|
||||||
messageSearchOngoing: bool
|
messageSearchOngoing: bool
|
||||||
|
|
||||||
proc delete*(self: View) =
|
proc delete*(self: View) =
|
||||||
@ -111,21 +110,6 @@ QtObject:
|
|||||||
self.initialMessagesLoaded = true
|
self.initialMessagesLoaded = true
|
||||||
self.initialMessagesLoadedChanged()
|
self.initialMessagesLoadedChanged()
|
||||||
|
|
||||||
proc loadingHistoryMessagesInProgressChanged*(self: View) {.signal.}
|
|
||||||
|
|
||||||
proc getLoadingHistoryMessagesInProgress*(self: View): bool {.slot.} =
|
|
||||||
return self.loadingHistoryMessagesInProgress
|
|
||||||
|
|
||||||
QtProperty[bool] loadingHistoryMessagesInProgress:
|
|
||||||
read = getLoadingHistoryMessagesInProgress
|
|
||||||
notify = loadingHistoryMessagesInProgressChanged
|
|
||||||
|
|
||||||
proc setLoadingHistoryMessagesInProgress*(self: View, value: bool) = # this is not a slot
|
|
||||||
if (value == self.loadingHistoryMessagesInProgress):
|
|
||||||
return
|
|
||||||
self.loadingHistoryMessagesInProgress = value
|
|
||||||
self.loadingHistoryMessagesInProgressChanged()
|
|
||||||
|
|
||||||
proc loadMoreMessages*(self: View) {.slot.} =
|
proc loadMoreMessages*(self: View) {.slot.} =
|
||||||
self.delegate.loadMoreMessages()
|
self.delegate.loadMoreMessages()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user