Fix small error in the handling of non-default periods

This commit is contained in:
Jakob Nixdorf 2017-07-03 12:50:37 +02:00
parent fca15fe068
commit 19f24024fe
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -310,7 +310,8 @@ public class MainActivity extends AppCompatActivity {
boolean change = false;
for(int i =0;i < adapter.getItemCount(); i++){
change = adapter.getItem(i).updateOTP();
boolean item_changed = adapter.getItem(i).updateOTP();
change = change || item_changed;
}
if (change)