mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Remove unneeded file loader calls.
This commit is contained in:
@@ -2059,7 +2059,7 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
|
||||
buttonState = BS1_CLICK_TO_PAUSE;
|
||||
invalidate();
|
||||
}
|
||||
} else {
|
||||
} /* else {
|
||||
if (currentMessageObject.type == MessageObject.MO_TYPE1_PHOTO) {
|
||||
photoImage.setImage(currentPhotoObject.location, currentPhotoFilter, currentPhotoObjectThumb != null ? currentPhotoObjectThumb.location : null, currentPhotoFilter, currentPhotoObject.size, null, false);
|
||||
} else if (currentMessageObject.type == MessageObject.MO_TYPE8_GIF) {
|
||||
@@ -2074,7 +2074,7 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
|
||||
}
|
||||
buttonState = BS1_CLICK_TO_PAUSE;
|
||||
invalidate();
|
||||
}
|
||||
}*/
|
||||
} else if (buttonState == BS1_CLICK_TO_PAUSE) {
|
||||
if (documentAttachType == DOCUMENT_ATTACH_TYPE_VOICE || documentAttachType == DOCUMENT_ATTACH_TYPE_MUSIC) {
|
||||
MediaController.getInstance().stopAudio(); // a click on message-pause should do the opposite of message-play - including clearing the status bar (a "real" pause can be done via the status bar)
|
||||
|
||||
@@ -78,7 +78,6 @@ import com.b44t.messenger.FileLog;
|
||||
import com.b44t.messenger.MessageObject;
|
||||
import com.b44t.messenger.NotificationCenter;
|
||||
import com.b44t.messenger.R;
|
||||
import com.b44t.messenger.UserConfig;
|
||||
import com.b44t.ui.ActionBar.BackDrawable;
|
||||
import com.b44t.ui.ActionBar.SimpleTextView;
|
||||
import com.b44t.messenger.AnimatorListenerAdapterProxy;
|
||||
|
||||
Reference in New Issue
Block a user