mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-03-30 21:31:50 -04:00
Allow home button to back out to previous activity
This commit is contained in:
@@ -267,6 +267,10 @@ public class LoyaltyCardViewActivity extends AppCompatActivity
|
||||
|
||||
switch(id)
|
||||
{
|
||||
case android.R.id.home:
|
||||
finish();
|
||||
break;
|
||||
|
||||
case R.id.action_delete:
|
||||
Log.e(TAG, "Deleting card: " + loyaltyCardId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user