refactor: Enhance category handling in note editor and card components
This commit is contained in:
@@ -231,10 +231,27 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
|
||||
return editor;
|
||||
}
|
||||
|
||||
return Scaffold(
|
||||
backgroundColor: palette.cardBackground,
|
||||
appBar: AppBar(title: const Text('Editar nota')),
|
||||
body: SafeArea(child: editor),
|
||||
return Container(
|
||||
decoration: BoxDecoration(gradient: palette.backdropGradient),
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
title: const Text('Editar nota'),
|
||||
backgroundColor: Colors.transparent,
|
||||
elevation: 0,
|
||||
bottom: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(1),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
bottom: BorderSide(color: palette.border, width: 0.5),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
body: SafeArea(child: editor),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user