refactor: Hide pro version section in home
Resolves: https://gitlab.steamware.net/eqn/eqn.ios/-/issues/43
This commit is contained in:
@@ -37,7 +37,7 @@ typedef NS_ENUM(NSInteger, AllerteTableRow) {
|
||||
AllerteTableRowAllertePassate,
|
||||
AllerteTableRowReteSmartphone,
|
||||
AllerteTableRowServizioPriorita,
|
||||
AllerteTableRowVersionePro,
|
||||
AllerteTableRowVersionePro, // non più visualizzata con passaggio dell'app a pagamento
|
||||
AllerteTableRowDatiPosizione
|
||||
};
|
||||
|
||||
@@ -140,10 +140,7 @@ typedef NS_ENUM(NSInteger, AllerteTableRow) {
|
||||
if (CLLocationManager.authorizationStatus != kCLAuthorizationStatusAuthorizedAlways) {
|
||||
[self.tableItems addObject:@(AllerteTableRowLocationPermission)];
|
||||
}
|
||||
// pro cell is visible only if user hasn't already bought the app
|
||||
if ([EQNPurchaseUtility isProVersionEnabled] == NO) {
|
||||
[self.tableItems addObject:@(AllerteTableRowVersionePro)];
|
||||
}
|
||||
|
||||
// location data visible only if last position is known
|
||||
if ([EQNUser defaultUser].lastPosition != nil && showAllCards) {
|
||||
[self.tableItems addObject:@(AllerteTableRowDatiPosizione)];
|
||||
|
||||
Reference in New Issue
Block a user