style: remove trailing whitespaces
This commit is contained in:
parent
914c7b2839
commit
ba7a6d5d34
|
@ -12,4 +12,3 @@ proc fromEvent*(T: type EnvelopeSentSignal, jsonSignal: JsonNode): EnvelopeSentS
|
||||||
if jsonSignal["event"].kind != JNull and jsonSignal["event"].hasKey("ids") and jsonSignal["event"]["ids"].kind != JNull:
|
if jsonSignal["event"].kind != JNull and jsonSignal["event"].hasKey("ids") and jsonSignal["event"]["ids"].kind != JNull:
|
||||||
for messageId in jsonSignal["event"]["ids"]:
|
for messageId in jsonSignal["event"]["ids"]:
|
||||||
result.messageIds.add(messageId.getStr)
|
result.messageIds.add(messageId.getStr)
|
||||||
|
|
|
@ -12,4 +12,3 @@ proc fromEvent*(T: type EnvelopeExpiredSignal, jsonSignal: JsonNode): EnvelopeEx
|
||||||
if jsonSignal["event"].kind != JNull and jsonSignal["event"].hasKey("ids") and jsonSignal["event"]["ids"].kind != JNull:
|
if jsonSignal["event"].kind != JNull and jsonSignal["event"].hasKey("ids") and jsonSignal["event"]["ids"].kind != JNull:
|
||||||
for messageId in jsonSignal["event"]["ids"]:
|
for messageId in jsonSignal["event"]["ids"]:
|
||||||
result.messageIds.add(messageId.getStr)
|
result.messageIds.add(messageId.getStr)
|
||||||
|
|
|
@ -25,4 +25,3 @@ proc fromEvent*(T: type WalletSignal, jsonSignal: JsonNode): WalletSignal =
|
||||||
if jsonSignal["event"]["accounts"].kind != JNull:
|
if jsonSignal["event"]["accounts"].kind != JNull:
|
||||||
for account in jsonSignal["event"]["accounts"]:
|
for account in jsonSignal["event"]["accounts"]:
|
||||||
result.accounts.add(account.getStr)
|
result.accounts.add(account.getStr)
|
||||||
|
|
|
@ -150,4 +150,3 @@ QtObject:
|
||||||
read = getActiveSubItem
|
read = getActiveSubItem
|
||||||
notify = activeSubItemChanged
|
notify = activeSubItemChanged
|
||||||
|
|
||||||
|
|
|
@ -112,4 +112,3 @@ QtObject:
|
||||||
QtProperty[int] position:
|
QtProperty[int] position:
|
||||||
read = getPosition
|
read = getPosition
|
||||||
|
|
||||||
|
|
|
@ -148,4 +148,3 @@ QtObject:
|
||||||
|
|
||||||
proc fillGaps(self: View, messageId: string) {.slot.} =
|
proc fillGaps(self: View, messageId: string) {.slot.} =
|
||||||
self.delegate.fillGaps(messageId)
|
self.delegate.fillGaps(messageId)
|
||||||
|
|
|
@ -13,4 +13,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -57,4 +57,3 @@ QtObject:
|
||||||
read = getMessagesFromContactsOnly
|
read = getMessagesFromContactsOnly
|
||||||
write = setMessagesFromContactsOnly
|
write = setMessagesFromContactsOnly
|
||||||
notify = messagesFromContactsOnlyChanged
|
notify = messagesFromContactsOnlyChanged
|
||||||
|
|
|
@ -17,4 +17,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -33,4 +33,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -34,4 +34,3 @@ method refreshWalletAccounts*(self: AccessInterface) {.base.} =
|
||||||
# inheritance, which is not well supported in Nim.
|
# inheritance, which is not well supported in Nim.
|
||||||
method viewDidLoad*(self: AccessInterface) {.base.} =
|
method viewDidLoad*(self: AccessInterface) {.base.} =
|
||||||
raise newException(ValueError, "No implementation available")
|
raise newException(ValueError, "No implementation available")
|
||||||
|
|
|
@ -29,4 +29,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -12,4 +12,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -17,4 +17,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -17,4 +17,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -17,4 +17,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -28,4 +28,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -20,4 +20,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -47,4 +47,3 @@ type
|
||||||
## Abstract class (concept) which must be implemented by object/s used in this
|
## Abstract class (concept) which must be implemented by object/s used in this
|
||||||
## module.
|
## module.
|
||||||
DelegateInterface* = concept c
|
DelegateInterface* = concept c
|
||||||
|
|
|
@ -10,4 +10,3 @@ method init*(self: AccessInterface) {.base.} =
|
||||||
|
|
||||||
method shouldStartWithOnboardingScreen*(self: AccessInterface): bool {.base.} =
|
method shouldStartWithOnboardingScreen*(self: AccessInterface): bool {.base.} =
|
||||||
raise newException(ValueError, "No implementation available")
|
raise newException(ValueError, "No implementation available")
|
||||||
|
|
|
@ -62,4 +62,3 @@ method importMnemonic*(self: Controller, mnemonic: string) =
|
||||||
else:
|
else:
|
||||||
self.delegate.importAccountError()
|
self.delegate.importAccountError()
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,3 @@ const bloomBitsSetTask: Task = proc(argEncoded: string) {.gcsafe, nimcall.} =
|
||||||
arg = decode[BloomBitsSetTaskArg](argEncoded)
|
arg = decode[BloomBitsSetTaskArg](argEncoded)
|
||||||
output = getBloomFilterBitsSet()
|
output = getBloomFilterBitsSet()
|
||||||
arg.finish(output)
|
arg.finish(output)
|
||||||
|
|
Loading…
Reference in New Issue