Skip to content

Commit ec1b071

Browse files
committed
Fix cancel button usage
1 parent 7d2633e commit ec1b071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/feature/sound/modal/sound_file_modal.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class _SoundFileModalState extends State<SoundFileModal> {
147147
Row(
148148
mainAxisAlignment: MainAxisAlignment.end,
149149
children: [
150-
CancelButton(callback: () => Navigator.pop(context)),
150+
const CancelButton(),
151151
const SizedBox(width: 12),
152152
FilledButton(
153153
onPressed: () {

0 commit comments

Comments
 (0)