Skip to content

Commit

Permalink
fix session detail copy
Browse files Browse the repository at this point in the history
  • Loading branch information
casimir committed Aug 8, 2023
1 parent e7bab3f commit e8533db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/session_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Widget _copyText(BuildContext context, String text, [bool obfuscate = false]) {
}
return InkWell(
onTap: () async {
await Clipboard.setData(ClipboardData(text: content));
await Clipboard.setData(ClipboardData(text: text));
if (context.mounted) {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text('Copied to your clipboard!')));
Expand Down

0 comments on commit e8533db

Please sign in to comment.