mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
refactor(multiverse): Move the details views under the room view module
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
pub mod events;
|
||||
pub mod help;
|
||||
pub mod linked_chunk;
|
||||
pub mod read_receipts;
|
||||
pub mod recovery;
|
||||
pub mod room_list;
|
||||
pub mod room_view;
|
||||
|
||||
@@ -16,15 +16,17 @@ use matrix_sdk_ui::timeline::{
|
||||
use ratatui::{prelude::*, widgets::*};
|
||||
use tokio::{spawn, task::JoinHandle};
|
||||
|
||||
use super::{
|
||||
events::EventsView, linked_chunk::LinkedChunkView, read_receipts::ReadReceipts,
|
||||
status::StatusHandle,
|
||||
};
|
||||
use self::{events::EventsView, linked_chunk::LinkedChunkView, read_receipts::ReadReceipts};
|
||||
use super::status::StatusHandle;
|
||||
use crate::{
|
||||
DetailsMode, Timelines, UiRooms, ALT_ROW_COLOR, HEADER_BG, NORMAL_ROW_COLOR, SELECTED_STYLE_FG,
|
||||
TEXT_COLOR,
|
||||
};
|
||||
|
||||
mod events;
|
||||
mod linked_chunk;
|
||||
mod read_receipts;
|
||||
|
||||
pub struct RoomView {
|
||||
selected_room: Option<OwnedRoomId>,
|
||||
/// Room list service rooms known to the app.
|
||||
|
||||
Reference in New Issue
Block a user