-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bug-fix (CLN Boltz): Hide claim tx id and routing fee for non-zero conf reverse swap * cln: Boltz auto-send - Added auto send option for Swap In - Checking compatiblity with v2.0.0 and above
- Loading branch information
1 parent
86cef68
commit ba36aa8
Showing
18 changed files
with
147 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 17 additions & 4 deletions
21
src/app/shared/components/ln-services/boltz/swap-status/swap-status.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
import { Component, Input } from '@angular/core'; | ||
import { Component, Input, OnInit } from '@angular/core'; | ||
|
||
import { SwapTypeEnum } from '../../../../services/consts-enums-functions'; | ||
import { SwapTypeEnum, ScreenSizeEnum } from '../../../../services/consts-enums-functions'; | ||
import { CommonService } from '../../../../services/common.service'; | ||
|
||
@Component({ | ||
selector: 'rtl-boltz-swap-status', | ||
templateUrl: './swap-status.component.html', | ||
styleUrls: ['./swap-status.component.scss'] | ||
}) | ||
export class SwapStatusComponent { | ||
export class SwapStatusComponent implements OnInit { | ||
|
||
@Input() swapStatus: any = null; | ||
@Input() direction = SwapTypeEnum.SWAP_OUT; | ||
@Input() acceptZeroConf = false; | ||
@Input() sendFromInternal = true; | ||
public qrWidth = 240; | ||
public screenSize = ''; | ||
public screenSizeEnum = ScreenSizeEnum; | ||
public swapTypeEnum = SwapTypeEnum; | ||
|
||
constructor() {} | ||
constructor(private commonService: CommonService) {} | ||
|
||
ngOnInit() { | ||
this.screenSize = this.commonService.getScreenSize(); | ||
if (this.screenSize === ScreenSizeEnum.XS) { | ||
this.qrWidth = 180; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.