update ISSUE_TEMPLATE

This commit is contained in:
lollipopkit
2023-05-29 17:37:24 +08:00
parent 0837f1619a
commit 96438313a1
4 changed files with 67 additions and 25 deletions

View File

@@ -68,10 +68,11 @@ class _EditorPageState extends State<EditorPage> {
centerTitle: true,
title: TwoLineText(up: getFileName(widget.path) ?? '', down: _s.editor),
actions: [
PopupMenuButton(
PopupMenuButton<String>(
icon: const Icon(Icons.language),
onSelected: (value) {
_controller.language = suffix2HighlightMap[value];
_langCode = value;
},
initialValue: _langCode,
itemBuilder: (BuildContext context) {