feat: native components (#789)
* wip: component viewer * feat: get component status from component viewer * feat: native components * fix: remove unused property * fix: remove unused func * chore(deps): snjs 2.29.0 * fix: import location * feat: native components * fix: remove unused func * feat: component viewer (#781) * wip: component viewer * feat: get component status from component viewer * fix: remove unused property * chore(deps): snjs 2.29.0 * fix: import location * chore: use cp instead of webpack copy * fix: types * chore: misc
This commit is contained in:
@@ -74,7 +74,7 @@ export class DesktopManager
|
||||
* Keys are not passed into ItemParams, so the result is not encrypted
|
||||
*/
|
||||
convertComponentForTransmission(component: SNComponent) {
|
||||
return this.application.protocolService!.payloadByEncryptingPayload(
|
||||
return this.application.protocolService.payloadByEncryptingPayload(
|
||||
component.payloadRepresentation(),
|
||||
EncryptionIntent.FileDecrypted
|
||||
);
|
||||
@@ -122,7 +122,7 @@ export class DesktopManager
|
||||
}
|
||||
}
|
||||
|
||||
desktop_windowGainedFocus() {
|
||||
desktop_windowGainedFocus(): void {
|
||||
this.$rootScope.$broadcast('window-gained-focus');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user