Skip to content

Commit

Permalink
Update email.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
7Eltantawy committed Sep 28, 2024
1 parent 0609afa commit d348306
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hisnelmoslem/lib/src/core/models/email.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@ class Email extends Equatable {
}

extension EmailExt on Email {
String get getURI =>
'mailto:$mailTo?subject=${Uri.encodeComponent(subject)}&body=${Uri.encodeComponent(body)}';
String get getURI => 'mailto:$mailTo?subject=$subject&body=$body';
}

0 comments on commit d348306

Please sign in to comment.