translation

This commit is contained in:
wgh19
2024-05-15 19:11:49 +08:00
parent 7e71b5b1ce
commit ed36114ffd
6 changed files with 217 additions and 9 deletions

View File

@@ -22,6 +22,7 @@ import "package:pixes/utils/translation.dart";
import "package:window_manager/window_manager.dart";
import "../components/page_route.dart";
import "../utils/debug.dart";
import "downloading_page.dart";
double get _appBarHeight => App.isDesktop ? 36.0 : 48.0;
@@ -203,9 +204,19 @@ class _MainPageState extends State<MainPage> with WindowListener {
padding: EdgeInsets.only(bottom: 4),
child: Align(
alignment: AlignmentDirectional.centerStart,
child: Text(
"Pixes",
style: TextStyle(fontSize: 13),
child: Row(
children: [
Text(
"Pixes",
style: TextStyle(fontSize: 13),
),
Spacer(),
if(kDebugMode)
Padding(
padding: EdgeInsets.only(right: 138),
child: Button(onPressed: debug, child: Text("Debug")),
)
],
),
),
),