Skip to content

Commit

Permalink
more stuff testing
Browse files Browse the repository at this point in the history
  • Loading branch information
deathblade666 committed Aug 29, 2024
1 parent df22152 commit f112072
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/pages/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ class Menu extends StatefulWidget {
PopupMenuItem<menuItems>(
value: menuItems.save,
onTap: () async {
List<int> list = utf8.encode(OpenFile.text);
Uint8List bytes = Uint8List.fromList(list);
//List<int> list = utf8.encode(OpenFile.text);
Uint8List bytes = utf8.encode(OpenFile.text);
//Uint8List.fromList(list);
final outputfile = await FileSaver.instance.saveAs(
ext: "md",
name: "test",
Expand Down

0 comments on commit f112072

Please sign in to comment.