fix crash

This commit is contained in:
Milos Kozak 2017-03-02 20:33:46 +01:00
parent 6ecaad7d69
commit 73fbac1bae

View file

@ -469,8 +469,8 @@ public class SmsCommunicatorPlugin implements PluginBase {
}
public void sendSMSToAllNumbers(Sms sms) {
for (int i = 0; i < allowedNumbers.size(); i++) {
sms.phoneNumber = allowedNumbers.get(i);
for (String number: allowedNumbers) {
sms.phoneNumber = number;
sendSMS(sms);
}
}