Skip to content

Commit

Permalink
Silly referencing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanidk committed Feb 29, 2024
1 parent f7dc340 commit 6be1422
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/screens/send_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ class _SendDataState extends State<SendData> {
child: Icon(Icons.qr_code),
onPressed: () {
setState(() {
Map tempData = widget.data;
Map tempData = {};
for (MapEntry entry in widget.data.entries) {
tempData[entry.key] = entry.value;
}
tempData['isGame'] = widget.isGame ? "y" : "n";
dataString = jsonEncode(tempData);
showQR = true;
Expand Down

0 comments on commit 6be1422

Please sign in to comment.