@php use App\Enums\NotificationActionType; use App\Support\NotificationTuneLibrary; $preferenceState = $preferenceState ?? auth()->user()->notificationPreferenceState(); $tuneOptions = $tuneOptions ?? NotificationTuneLibrary::tunes(); $noteOptions = $noteOptions ?? NotificationTuneLibrary::noteOptions(); $defaultTune = $defaultTune ?? NotificationTuneLibrary::resolve(NotificationTuneLibrary::defaultKey()); $selectedTuneKey = $preferenceState['tune_key'] ?? 'default'; $customTune = $preferenceState['custom_tune'] ?? NotificationTuneLibrary::defaultCustomTune(); $customNotes = $customTune['notes'] ?? NotificationTuneLibrary::defaultCustomTune()['notes']; @endphp @extends('frontend.user.setting.index') @section('title', __('Notifications')) @section('user_setting_content')
{{ __('Control account alerts, sound, and custom notification tune.') }}
{{ __('Recent account activity and wallet updates.') }}