mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-07 01:39:18 +08:00
chore: clean up
opt: pages Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -63,7 +63,7 @@ class _LogsPageState extends State<LogsPage> {
|
||||
if (l.startsWith("Crash occurred on")) {
|
||||
try {
|
||||
date = DateTime.parse(
|
||||
l.split("Crash occurred on")[1].trim(), //.split('.')[0],
|
||||
l.split("Crash occurred on")[1].trim(),
|
||||
);
|
||||
} catch (e) {
|
||||
debugPrint(e.toString());
|
||||
@@ -111,7 +111,6 @@ class _LogsPageState extends State<LogsPage> {
|
||||
actions: [
|
||||
PopupMenuButton<String>(
|
||||
onSelected: (String type) {
|
||||
// 处理菜单项选择的逻辑
|
||||
switch (type) {
|
||||
case 'copy':
|
||||
copyLogs();
|
||||
|
||||
Reference in New Issue
Block a user