Skip to content

Commit

Permalink
fix: use share icon instead of email
Browse files Browse the repository at this point in the history
- email is just one option
  • Loading branch information
kkweon committed Jun 21, 2021
1 parent a201661 commit 54396eb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions client/lib/screens/detail_screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:pr12er/protos/pkg/pr12er/messages.pb.dart';
import 'package:pr12er/service.dart';
Expand Down Expand Up @@ -123,11 +121,9 @@ class DetailScreen extends StatelessWidget {
}
}

log(message.toString());

Share.share(message.toString(), subject: subject);
},
child: const Icon(Icons.email),
child: const Icon(Icons.share),
),
);
}
Expand Down

0 comments on commit 54396eb

Please sign in to comment.