编辑界面优化

This commit is contained in:
DelLevin-Home
2026-05-22 12:15:43 +08:00
parent 8f51a06c56
commit 6b5488aff8
13 changed files with 1446 additions and 1538 deletions

View File

@@ -578,8 +578,6 @@ class _SearchPageState extends State<SearchPage> {
}
Widget _buildNoteItem(Note note) {
final isPlainText = note.contentType == 'plain_text';
return GestureDetector(
onTap: () {
Navigator.push(
@@ -611,7 +609,7 @@ class _SearchPageState extends State<SearchPage> {
border: Border.all(color: const Color(0xFFE8E8E8), width: 0.5),
),
child: Text(
isPlainText ? 'TXT' : 'MD',
'MD',
style: const TextStyle(
fontSize: 10,
fontWeight: FontWeight.w600,