LoyaltyCardEditActivity: fix noDataLossOnResumeOrRotate test

This commit is contained in:
FC Stegerman committed 2023-07-29 21:30:08 +02:00
1 parent f671c6b0d1
commit 6dfbb169df
2 files changed
+3 -1

No files matched your search

@@ -231,7 +231,7 @@ public class LoyaltyCardEditActivity extends CatimaAppCompatActivity implements
);
}
private void updateTempState(LoyaltyCardField fieldName, Object value) {
protected void updateTempState(LoyaltyCardField fieldName, Object value) {
tempLoyaltyCard = updateTempState(tempLoyaltyCard, fieldName, value);
if (initDone && (fieldName == LoyaltyCardField.cardId || fieldName == LoyaltyCardField.barcodeId || fieldName == LoyaltyCardField.barcodeType)) {