diff --git a/src/home/room_screen.rs b/src/home/room_screen.rs index 469c833e..7cfa2bc8 100644 --- a/src/home/room_screen.rs +++ b/src/home/room_screen.rs @@ -74,6 +74,8 @@ live_design! { COLOR_PROFILE_CIRCLE = #xfff8ee TYPING_NOTICE_ANIMATION_DURATION = 0.3 + CAN_NOT_SEND_NOTICE = "You don't have permission to post to this room." + FillerY = {width: Fill} FillerX = {height: Fill} @@ -810,7 +812,7 @@ live_design! { location_preview = { } // Below that, display a view that holds the message input bar and send button. - { + input_bar = { width: Fill, height: Fit flow: Right, align: {y: 0.5}, @@ -917,6 +919,24 @@ live_design! { icon_walk: {width: 18.0, height: Fit}, } } + can_not_send_message_notice = { + visible: false + show_bg: true + draw_bg: { + color: (COLOR_SECONDARY) + } + padding: {left: 75} + align: {y: 0.3} + width: Fill, height: 37.5 + + text =