added a comment explaining why setText is used there

This commit is contained in:
Katharine
2021-11-02 08:14:30 +08:00
parent 9e831924c6
commit c815c3908f

View File

@@ -129,6 +129,7 @@ public class ManageGroupActivity extends CatimaAppCompatActivity implements Mana
Toast.makeText(getApplicationContext(), R.string.group_updated, Toast.LENGTH_SHORT).show();
finish();
});
// this setText is here because content_main.xml is reused from main activity
mHelpText.setText(getResources().getText(R.string.noGiftCardsGroup));
updateLoyaltyCardList();
}