mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-21 13:28:17 -05:00
Add missing card add menu
There was no save button when creating a new card.
This commit is contained in:
@@ -300,6 +300,10 @@ public class LoyaltyCardViewActivity extends AppCompatActivity
|
||||
{
|
||||
getMenuInflater().inflate(R.menu.card_update_menu, menu);
|
||||
}
|
||||
else
|
||||
{
|
||||
getMenuInflater().inflate(R.menu.card_add_menu, menu);
|
||||
}
|
||||
|
||||
return super.onCreateOptionsMenu(menu);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user