From 06710a1dcd76b1697286f1f6418790e7a18344cb Mon Sep 17 00:00:00 2001 From: "ildar.timerbaev" Date: Mon, 15 Jan 2024 21:12:54 +0600 Subject: [PATCH 1/3] Rc delegations: fixed confirmation dialog styles --- src/common/components/rc-delegations-list/index.tsx | 11 +---------- src/common/components/rc-info/index.tsx | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/common/components/rc-delegations-list/index.tsx b/src/common/components/rc-delegations-list/index.tsx index ef764238876..388511fd531 100644 --- a/src/common/components/rc-delegations-list/index.tsx +++ b/src/common/components/rc-delegations-list/index.tsx @@ -210,16 +210,7 @@ export const ConfirmDelete = (props: any) => { const { to, activeUser, hideConfirmDelete } = props; return ( <> -
+
{_t("rc-info.confirm-delete")}
diff --git a/src/common/components/rc-info/index.tsx b/src/common/components/rc-info/index.tsx index bb8123ce96a..b2e84d3e4a3 100644 --- a/src/common/components/rc-info/index.tsx +++ b/src/common/components/rc-info/index.tsx @@ -316,7 +316,7 @@ export const ResourceCreditsInfo = (props: any) => { - + Date: Mon, 15 Jan 2024 21:16:29 +0600 Subject: [PATCH 2/3] Login: fixed login with keychain styles --- src/common/app.tsx | 1 - src/common/components/login/index.tsx | 18 ++++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/common/app.tsx b/src/common/app.tsx index 03c6c6b7bd0..6ec6cb76b4e 100644 --- a/src/common/app.tsx +++ b/src/common/app.tsx @@ -36,7 +36,6 @@ import { UIManager } from "@ui/core"; import defaults from "./constants/defaults.json"; import { getAccessToken } from "./helper/user-token"; - // Define lazy pages const ProfileContainer = loadable(() => import("./pages/profile-functional")); const ProfilePage = (props: any) => ; diff --git a/src/common/components/login/index.tsx b/src/common/components/login/index.tsx index 0aae8d1a11b..9437bbb9ee9 100644 --- a/src/common/components/login/index.tsx +++ b/src/common/components/login/index.tsx @@ -161,7 +161,7 @@ export class LoginKc extends BaseComponent { return ( <> -
+
Logo

{_t("login.with-keychain")}

@@ -182,13 +182,15 @@ export class LoginKc extends BaseComponent { onKeyDown={this.inputKeyDown} />
- - +
+ + +
); From a18d9deb8264336cd51a5de21ff423a9f11bb2f9 Mon Sep 17 00:00:00 2001 From: "ildar.timerbaev" Date: Mon, 15 Jan 2024 21:19:27 +0600 Subject: [PATCH 3/3] Chats: allowed to send images w/o text message --- src/common/features/chats/components/chat-input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/features/chats/components/chat-input.tsx b/src/common/features/chats/components/chat-input.tsx index 6a4e50e837b..50e97d8bbc2 100644 --- a/src/common/features/chats/components/chat-input.tsx +++ b/src/common/features/chats/components/chat-input.tsx @@ -88,10 +88,10 @@ export default function ChatInput({ currentChannel, currentContact }: Props) { }, [isCommunity, isCurrentUser]); const submit = async () => { - if (isDisabled || isSendMessageLoading || isFilesUploading || !message) { + const nextMessage = buildImages(message); + if (isDisabled || isSendMessageLoading || isFilesUploading || !nextMessage) { return; } - const nextMessage = buildImages(message); await sendMessage(nextMessage); setFiles([]); setUploadedFileLinks([]);