mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-26 07:48:14 -05:00
Fix several bugs related to shortcut handling (#2919)
* Improve ShortcuHelper.updateShortcuts to take all actions into account * Remove now useless calls to removeShortcut * Add doc to explain the usage of maxShortcut * Fix typo in doc of maxShortcuts
This commit is contained in:
committed by
GitHub
parent
18dbb24375
commit
ace353d71d
@@ -1532,7 +1532,7 @@ public class LoyaltyCardEditActivity extends CatimaAppCompatActivity implements
|
||||
|
||||
DBHelper.setLoyaltyCardGroups(mDatabase, viewModel.getLoyaltyCardId(), selectedGroups);
|
||||
|
||||
ShortcutHelper.updateShortcuts(this, DBHelper.getLoyaltyCard(this, mDatabase, viewModel.getLoyaltyCardId()));
|
||||
ShortcutHelper.updateShortcuts(this);
|
||||
|
||||
if (viewModel.getDuplicateFromLoyaltyCardId()) {
|
||||
Intent intent = new Intent(getApplicationContext(), MainActivity.class);
|
||||
|
||||
Reference in New Issue
Block a user