Commit 2862a217 cgx

关闭系统黑夜模式

1 个父辈 7020fea5
......@@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIUserInterfaceStyle</key>
<string>UIUserInterfaceStyleLight</string>
<key>Bundle_Display_Name</key>
<string>$(App_Display_Name)</string>
<key>CFBundleURLTypes</key>
......
......@@ -55,14 +55,6 @@
#pragma mark - Actions
- (void)oneClickAction:(UIButton *)sender {
// for (NoiseAudioCell *audioCell in self.audioArr) {
// FSAudioStream *audioStream = audioCell.model.audioStream;
// if (sender.selected) {
// [audioStream stop];
// } else {
// [audioStream play];
// }
// }
sender.selected = !sender.selected;
if (sender.selected) {
[[NoisePlayerManager sharedNoisePlayerManager] playAll];
......@@ -133,7 +125,7 @@
[[NoisePlayerManager sharedNoisePlayerManager] removeNoiseAudioCell:audioCell];
// 执行删除动画
[self.playListView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationLeft];
dispatch_after(.1, dispatch_get_main_queue(), ^{
dispatch_after(.3, dispatch_get_main_queue(), ^{
[self.playListView reloadData];
});
if (self.audioArr.count == 0) { [self removeFromSuperview]; }
......
......@@ -26,6 +26,7 @@
self.navigationItem.title = @"我的";
self.tableView.dk_backgroundColorPicker = DKColorPickerWithKey(VCViewBG);
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tmpDatas = @[@"意见反馈", @"系统设置", @"邀请好友", @"关于我们", @"前往小程序", @"关注公众号", @"添加客服微信", @"失眠的认知行为疗法"];
self.tableView.tableHeaderView = self.userInfoView;
......@@ -55,6 +56,7 @@
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"profileCell" forIndexPath:indexPath];
cell.dk_backgroundColorPicker = DKColorPickerWithKey(VCViewBG);
cell.selectionStyle = UITableViewCellSelectionStyleNone;
cell.textLabel.text = self.tmpDatas[indexPath.row];
cell.textLabel.dk_textColorPicker = DKColorPickerWithKey(TEXT);
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!