diff --git a/CHANGELOG.md b/CHANGELOG.md index bc4e08f..b8d4d1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.35] - 2026-06-12 + +### 改进 +- Debug 版本窗口标题增加 [DEBUG] 后缀,便于与正式安装版区分 + ## [1.0.34] - 2026-06-12 ### 修复 diff --git a/client/lib/main.dart b/client/lib/main.dart index 077ac52..09c4f66 100644 --- a/client/lib/main.dart +++ b/client/lib/main.dart @@ -1,5 +1,6 @@ import 'dart:async'; import 'dart:io'; +import 'package:flutter/foundation.dart' show kDebugMode; import 'package:flutter/material.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; @@ -107,7 +108,7 @@ class _JiuAppState extends ConsumerState { Widget build(BuildContext context) { final router = ref.watch(appRouterProvider); return MaterialApp.router( - title: '岩美', + title: kDebugMode ? '岩美 [DEBUG]' : '岩美', theme: AppTheme.light(), routerConfig: router, debugShowCheckedModeBanner: false,