mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-04 04:05:04 +03:00
style(settings): fold the Happ settings into four tabs
Seven tabs, several holding one or two settings, made the page hard to scan. The encrypted-links switch moves above the tabs under auto-detection, the colour profile joins the banners under Appearance & Theme, and Android per-app proxy joins Network & TUN Engine. The QR modal's settings link no longer needs a happTab selector, and the three orphaned tab-label keys are dropped from every locale.
This commit is contained in:
@@ -50,7 +50,7 @@ type QrVariant = 'standard' | 'happ';
|
||||
type HappError = 'too_long' | 'unavailable' | null;
|
||||
|
||||
const HAPP_CRYPT5_PREFIX = 'happ://crypt5/';
|
||||
const HAPP_SETTINGS_PATH = '/settings?subscriptionTab=happ&happTab=links#subscription';
|
||||
const HAPP_SETTINGS_PATH = '/settings?subscriptionTab=happ#subscription';
|
||||
// QrPanel encodes at error level L; QR version 40 holds 2953 UTF-8 bytes at that level.
|
||||
const HAPP_QR_MAX_BYTES = 2953;
|
||||
const UTF8_ENCODER = new TextEncoder();
|
||||
|
||||
Reference in New Issue
Block a user