File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 248248 <string >resetToDefaults </string >
249249 <key >isDestructive </key >
250250 <true />
251+ <key >alignment </key >
252+ <integer >2 </integer >
251253 </dict >
252254
253255 <dict >
Original file line number Diff line number Diff line change @@ -949,16 +949,11 @@ - (NSArray *)autoProtectedItemsForLevel:(NSInteger)level {
949949}
950950- (UITableViewCell *)tableView : (UITableView *)tableView cellForRowAtIndexPath : (NSIndexPath *)indexPath {
951951 UITableViewCell *cell = [super tableView: tableView cellForRowAtIndexPath: indexPath];
952- PSSpecifier *spec = [self specifierAtIndexPath: indexPath];
953-
954- // Center and color the Reset button
952+ PSSpecifier *spec = [self specifierAtIndexPath: indexPath];
955953 if (spec->action == @selector (resetToDefaults )) {
956954 if (@available (iOS 13.0 , *)) cell.textLabel .textColor = [UIColor systemRedColor ];
957955 else cell.textLabel .textColor = [UIColor redColor ];
958- cell.textLabel .textAlignment = NSTextAlignmentCenter;
959956 }
960-
961- // Color the Donate button green
962957 if (spec->action == @selector (openVenmo )) {
963958 if (@available (iOS 13.0 , *)) cell.textLabel .textColor = [UIColor systemGreenColor ];
964959 else cell.textLabel .textColor = [UIColor greenColor ];
You can’t perform that action at this time.
0 commit comments