diff --git a/resources/icon_reply.svg b/resources/icon_reply.svg
deleted file mode 100644
index d1f3c121..00000000
--- a/resources/icon_reply.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/resources/icons/reply.svg b/resources/icons/reply.svg
new file mode 100644
index 00000000..382b73af
--- /dev/null
+++ b/resources/icons/reply.svg
@@ -0,0 +1,7 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/home/room_screen.rs b/src/home/room_screen.rs
index 26883cc9..d52cf79d 100644
--- a/src/home/room_screen.rs
+++ b/src/home/room_screen.rs
@@ -11,16 +11,18 @@ use matrix_sdk::{ruma::{
guest_access::GuestAccess, history_visibility::HistoryVisibility, join_rules::JoinRule, message::{MessageFormat, MessageType, RoomMessageEventContent}, MediaSource
},
AnySyncMessageLikeEvent, AnySyncTimelineEvent, FullStateEventContent, SyncMessageLikeEvent,
- }, matrix_uri::MatrixId, uint, MatrixToUri, MatrixUri, MilliSecondsSinceUnixEpoch, OwnedEventId, OwnedRoomId, RoomId
+ }, matrix_uri::MatrixId, uint, EventId, MatrixToUri, MatrixUri, MilliSecondsSinceUnixEpoch, OwnedEventId, OwnedRoomId, RoomId, UserId
}, OwnedServerName};
use matrix_sdk_ui::timeline::{
- self, AnyOtherFullStateEventContent, EventTimelineItem, MemberProfileChange, MembershipChange, ReactionsByKeyBySender, RoomMembershipChange, TimelineDetails, TimelineItem, TimelineItemContent, TimelineItemKind, VirtualTimelineItem
+ self, AnyOtherFullStateEventContent, EventTimelineItem, MemberProfileChange, MembershipChange,
+ Profile, ReactionsByKeyBySender, RepliedToInfo, RoomMembershipChange,
+ TimelineDetails, TimelineItem, TimelineItemContent, TimelineItemKind, VirtualTimelineItem,
};
-use rangemap::RangeSet;
use crate::{
avatar_cache::{self, AvatarCacheEntry}, media_cache::{MediaCache, MediaCacheEntry}, profile::{user_profile::{AvatarState, ShowUserProfileAction, UserProfile, UserProfileAndRoomId, UserProfilePaneInfo, UserProfileSlidingPaneRef, UserProfileSlidingPaneWidgetExt}, user_profile_cache}, shared::{avatar::{AvatarRef, AvatarWidgetRefExt}, html_or_plaintext::HtmlOrPlaintextWidgetRefExt, text_or_image::TextOrImageWidgetRefExt}, sliding_sync::{get_client, submit_async_request, take_timeline_update_receiver, MatrixRequest}, utils::{self, unix_time_millis_to_datetime, MediaFormatConst}
};
+use rangemap::RangeSet;
live_design! {
import makepad_draw::shader::std::*;
@@ -38,24 +40,25 @@ live_design! {
IMG_DEFAULT_AVATAR = dep("crate://self/resources/img/default_avatar.png")
ICO_FAV = dep("crate://self/resources/icon_favorite.svg")
ICO_COMMENT = dep("crate://self/resources/icon_comment.svg")
- ICO_REPLY = dep("crate://self/resources/icon_reply.svg")
+ ICO_REPLY = dep("crate://self/resources/icons/reply.svg")
ICO_SEND = dep("crate://self/resources/icon_send.svg")
ICO_LIKES = dep("crate://self/resources/icon_likes.svg")
ICO_USER = dep("crate://self/resources/icon_user.svg")
ICO_ADD = dep("crate://self/resources/icon_add.svg")
+ ICO_CLOSE = dep("crate://self/resources/icons/close.svg")
ICO_JUMP_TO_BOTTOM = dep("crate://self/resources/icon_jump_to_bottom.svg")
TEXT_SUB = {
font_size: (10),
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
}
-
+
TEXT_P = {
font_size: (12),
height_factor: 1.65,
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
}
-
+
COLOR_BG = #xfff8ee
COLOR_BRAND = #xf88
COLOR_BRAND_HOVER = #xf66
@@ -65,12 +68,12 @@ live_design! {
COLOR_OVERLAY_BG = #x000000d8
COLOR_READ_MARKER = #xeb2733
COLOR_PROFILE_CIRCLE = #xfff8ee
-
+
FillerY = {width: Fill}
-
+
FillerX = {height: Fill}
-
-
+
+
IconButton =