Skip to content

Commit 4765385

Browse files
committed
Auto-build → Source update
1 parent 05b045e commit 4765385

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

antidarkswordprefs/Resources/Root.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@
248248
<string>resetToDefaults</string>
249249
<key>isDestructive</key>
250250
<true/>
251+
<key>alignment</key>
252+
<integer>2</integer>
251253
</dict>
252254

253255
<dict>

antidarkswordprefs/RootListController.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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];

0 commit comments

Comments
 (0)