|
@@ -1020,11 +1020,11 @@
|
|
|
cell.isNotPush = [dict.user.offlineNoPushMsg boolValue];
|
|
|
|
|
|
if ([dict.message.fromUserId isEqualToString:@"10000"]) {
|
|
|
- cell.headImageView.image=[UIImage imageNamed:@"ALOGO_120"];
|
|
|
+ cell.headImageView.image=[UIImage imageNamed:@"ALOGO_1200"];
|
|
|
[cell.lbTitle setText:@"即信"];
|
|
|
cell.bottomTitle=@"";
|
|
|
cell.lbSubTitle.text=@"";
|
|
|
- cell.headImage=@"ALOGO_120";
|
|
|
+ cell.headImage=@"ALOGO_1200";
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1513,17 +1513,22 @@
|
|
|
|
|
|
[_array insertObject:newobj atIndex:_topNum];
|
|
|
|
|
|
- NSMutableArray *indexPaths = [[NSMutableArray alloc] init];
|
|
|
- NSIndexPath *indexPath = [NSIndexPath indexPathForRow:_topNum inSection:0];
|
|
|
- [indexPaths addObject:indexPath];
|
|
|
-
|
|
|
+// NSMutableArray *indexPaths = [[NSMutableArray alloc] init];
|
|
|
+// NSIndexPath *indexPath = [NSIndexPath indexPathForRow:_topNum inSection:0];
|
|
|
+// [indexPaths addObject:indexPath];
|
|
|
+
|
|
|
+ [UIView performWithoutAnimation:^{
|
|
|
+ NSIndexSet *reloadSet = [NSIndexSet indexSetWithIndex:0];
|
|
|
+ [_table reloadSections:reloadSet withRowAnimation:UITableViewRowAnimationNone];
|
|
|
+ }];
|
|
|
if (newobj==nil) {
|
|
|
- [_table gotoFirstRow:YES];
|
|
|
+ // [_table gotoFirstRow:YES];
|
|
|
+ //[_table gotoLastRow:YES];
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
@try {
|
|
|
- [_table gotoFirstRow:YES];
|
|
|
+ //[_table gotoFirstRow:YES];
|
|
|
|
|
|
// [_table beginUpdates];
|
|
|
//[_table insertRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationNone];
|
|
@@ -1534,7 +1539,7 @@
|
|
|
|
|
|
}
|
|
|
|
|
|
- // [_table gotoFirstRow:YES];
|
|
|
+ // [_table gotoLastRow:YES];
|
|
|
}
|
|
|
|
|
|
newobj = nil;
|
|
@@ -1668,8 +1673,7 @@
|
|
|
|
|
|
NSLog(@"didselectRowAtIndexPath %@",[[[[self superclass] superclass] superclass] class]);
|
|
|
|
|
|
-
|
|
|
- [g_notify postNotificationName:@"tabbarFrame" object:nil userInfo:@{@"title":@"0"}];
|
|
|
+ [g_notify postNotificationName:@"hiddenTip" object:nil];
|
|
|
|
|
|
//[self doneBtnAction:self.doneBtn];
|
|
|
|
|
@@ -1777,17 +1781,17 @@
|
|
|
if ([[fromArr lastObject] intValue]==1||[p.user.status intValue]!=2) {
|
|
|
|
|
|
|
|
|
- sendView.tempChat=11;
|
|
|
+ sendView.useInfoTempChat=11;
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
if (fromArr==nil) {
|
|
|
- sendView.tempChat=11;
|
|
|
+ sendView.useInfoTempChat=11;
|
|
|
}else{
|
|
|
|
|
|
|
|
|
- sendView.tempChat=1;
|
|
|
+ sendView.useInfoTempChat=1;
|
|
|
}
|
|
|
}
|
|
|
sendView.rowIndex = indexPath.row;
|
|
@@ -1800,7 +1804,6 @@
|
|
|
p.user.msgsNew = [NSNumber numberWithInt:0];
|
|
|
[p.message updateNewMsgsTo0];
|
|
|
|
|
|
- [g_notify postNotificationName:@"hiddenTip" object:nil];
|
|
|
//_homeVc.strURL=@"";
|
|
|
[self cancelBtnAction];
|
|
|
|