style: remove trailing whitespaces

This commit is contained in:
Patryk Osmaczko 2022-02-09 10:43:23 +01:00 committed by osmaczko
parent 914c7b2839
commit ba7a6d5d34
562 changed files with 2516 additions and 2538 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -150,4 +150,3 @@ QtObject:
read = getActiveSubItem read = getActiveSubItem
notify = activeSubItemChanged notify = activeSubItemChanged

View File

@ -112,4 +112,3 @@ QtObject:
QtProperty[int] position: QtProperty[int] position:
read = getPosition read = getPosition

View File

@ -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)

View File

@ -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

View File

@ -57,4 +57,3 @@ QtObject:
read = getMessagesFromContactsOnly read = getMessagesFromContactsOnly
write = setMessagesFromContactsOnly write = setMessagesFromContactsOnly
notify = messagesFromContactsOnlyChanged notify = messagesFromContactsOnlyChanged

View File

@ -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

View File

@ -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

View File

@ -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")

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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")

View File

@ -62,4 +62,3 @@ method importMnemonic*(self: Controller, mnemonic: string) =
else: else:
self.delegate.importAccountError() self.delegate.importAccountError()

View File

@ -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)