fix people count error

master
UC-HOBA 4 years ago
parent 1d8ad5489a
commit 56882043b6
  1. 2
      lib/main.dart

@ -63,7 +63,7 @@ class AnalyzeViewState extends State<AnalyzeView>
List<String> recipents = ['1922']; List<String> recipents = ['1922'];
msg = msg.substring(prefix.length); msg = msg.substring(prefix.length);
if (peopleCount > 1) { if (peopleCount > 1) {
msg += ' +${peopleCount.toInt()}'; msg += ' +${peopleCount.toInt() - 1}';
} }
_sendSMS(msg, recipents); _sendSMS(msg, recipents);
} }