feat: Add a proper file saver

This commit is contained in:
Sorunome 2021-07-11 17:12:56 +02:00
commit c96486e9a0
8 changed files with 73 additions and 63 deletions

View file

@ -24,7 +24,7 @@ class MessageDownloadContent extends StatelessWidget {
primary: Theme.of(context).scaffoldBackgroundColor,
onPrimary: Theme.of(context).textTheme.bodyText1.color,
),
onPressed: () => event.openFile(context),
onPressed: () => event.saveFile(context),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [