Fix handling edited message in chatlist
Change shipping icon
This commit is contained in:
parent
6e551d62d0
commit
96f03e056c
@ -618,7 +618,7 @@ export default class PopupPayment extends PopupElement {
|
||||
|
||||
let lastShippingPricesElements: HTMLElement[];
|
||||
shippingMethodRow = createRow({
|
||||
icon: 'car',
|
||||
icon: 'shipping',
|
||||
titleLangKey: 'PaymentCheckoutShippingMethod',
|
||||
clickable: !isReceipt && (onShippingMethodClick = () => {
|
||||
new PopupPaymentShippingMethods(paymentForm as PaymentsPaymentForm, lastRequestedInfo, lastShippingOption).addEventListener('finish', (shippingOption) => {
|
||||
|
@ -4260,8 +4260,8 @@ export class AppMessagesManager extends AppManager {
|
||||
}
|
||||
|
||||
releaseUnreadCount();
|
||||
this.rootScope.dispatchEvent('dialogs_multiupdate', {[peerId]: dialog});
|
||||
this.dialogsStorage.setDialogToState(dialog);
|
||||
this.rootScope.dispatchEvent('dialogs_multiupdate', {[peerId]: dialog});
|
||||
}
|
||||
};
|
||||
|
||||
@ -4321,8 +4321,8 @@ export class AppMessagesManager extends AppManager {
|
||||
if(isTopMessage || (message as Message.message).grouped_id) {
|
||||
const updatedDialogs: {[peerId: PeerId]: Dialog} = {};
|
||||
updatedDialogs[peerId] = dialog;
|
||||
this.rootScope.dispatchEvent('dialogs_multiupdate', updatedDialogs);
|
||||
this.dialogsStorage.setDialogToState(dialog);
|
||||
this.rootScope.dispatchEvent('dialogs_multiupdate', updatedDialogs);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user