feat(game): 添加游戏大厅音频控制和用户协议功能
- 实现音频资源配置和音频商店状态管理 - 添加用户协议和游戏规则的多语言支持 - 集成音频播放解锁机制和声音开关功能 - 更新API客户端以支持根路径候选 - 优化游戏历史记录组件的滚动加载逻辑 - 添加桌面端控制按钮的动画效果和交互反馈 - 实现语言切换和音效控制的UI组件 - 增加下注相关的状态管理和错误提示 - 完善应用偏好设置的存储和持久化逻辑
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
getCurrentUserProfile,
|
||||
refreshAuthSession,
|
||||
} from '@/features/auth/api/auth-api'
|
||||
import { GlobalAudioController } from '@/features/game/audio/global-audio-controller'
|
||||
import '@/i18n'
|
||||
import { prefetchAuthToken } from '@/lib/api/api-client'
|
||||
import {
|
||||
@@ -43,6 +44,7 @@ void initializeAuthSession().then(async () => {
|
||||
createRoot(rootElement).render(
|
||||
<StrictMode>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<GlobalAudioController />
|
||||
<RouterProvider router={router} />
|
||||
<AppToaster />
|
||||
{shouldShowQueryDevtools && <ReactQueryDevtools initialIsOpen={false} />}
|
||||
|
||||
Reference in New Issue
Block a user