[accelerator] slim summary screen

This commit is contained in:
Mononaut
2024-06-30 03:43:28 +00:00
parent bf37affe47
commit d059c5ca27
4 changed files with 47 additions and 49 deletions

View File

@@ -56,10 +56,11 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
@Input() cashappEnabled: boolean = true;
@Input() advancedEnabled: boolean = false;
@Input() forceMobile: boolean = false;
@Input() noCTA: boolean = false;
@Output() changeMode = new EventEmitter<boolean>();
calculating = true;
choosenOption: 'wait' | 'accel';
armed = false;
error = '';
math = Math;
isMobile: boolean = window.innerWidth <= 767.98;
@@ -445,13 +446,6 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
});
}
/**
* UI events
*/
selectedOptionChanged(event) {
this.choosenOption = event.target.id;
}
isLoggedIn(): boolean {
const auth = this.storageService.getAuth();
return auth !== null;