mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-02-27 12:46:31 -05:00
Only let one card viewing activity exist at a time
Now that there are shortcuts which can launch card viewing activities directly, if a user does not back out of the activity then there will be a pile up of activities over time. To prevent this, only let one such view activity exist at a time.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
android:name=".LoyaltyCardViewActivity"
|
||||
android:theme="@style/AppTheme.NoActionBar"
|
||||
android:configChanges="orientation|screenSize"
|
||||
android:launchMode="singleTop"
|
||||
android:windowSoftInputMode="stateHidden"/>
|
||||
<activity
|
||||
android:name=".BarcodeSelectorActivity"
|
||||
|
||||
Reference in New Issue
Block a user