import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { EnvService } from 'src/app/services/env.service';

@Component({
  selector: 'app-setting-result',
  templateUrl: './setting-result.page.html',
  styleUrls: ['./setting-result.page.scss'],
})
export class SettingResultPage {

  constructor(
    public env: EnvService,
    private router: Router,
  ) { }

  setAutoQr() {
    this.router.navigate(['setting-auto-qr']);
  }

  setAutoMaxBrightness() {
    this.router.navigate(['setting-auto-brightness']);
  }

  setQrStyle() {
    this.router.navigate(['setting-qr']);
  }

  setSearchEngine() {
    this.router.navigate(['setting-search-engine']);
  }

  setResultPageButtons() {
    this.router.navigate(['setting-result-buttons']);
  }
}
