This commit is contained in:
sdarbinyan
2026-05-08 23:43:44 +04:00
parent 76e994e757
commit e04514f97b
8 changed files with 0 additions and 605 deletions

View File

@@ -1,6 +1,5 @@
import { Component, computed, inject, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { Router } from '@angular/router';
import { HttpClient } from '@angular/common/http';
import { FastcheckService } from '../../fastcheck.service';
import { FASTCHECK_API } from '../../api';
@@ -36,7 +35,6 @@ interface CheckFastcheckResponse {
export class FastcheckPage {
private http = inject(HttpClient);
private store = inject(FastcheckService);
private router = inject(Router);
private i18n = inject(TranslationService);
private t(key: string): string { return this.i18n.translate(key); }
@@ -330,14 +328,6 @@ export class FastcheckPage {
});
}
shareByEmail(): void {
const num = this.fastcheckNumber();
const amount = this.fastcheckAmount();
const subject = encodeURIComponent('fastCHECK');
const body = encodeURIComponent(`Номер: ${num}\nСумма: ${amount}\nhttps://qr.vitanova.network/`);
window.open(`mailto:?subject=${subject}&body=${body}`, '_blank');
}
shareByTelegram(): void {
this.loginOnly.set(true);
this.openPopup();