refactor(multiverse): Move the details views under the room view module

This commit is contained in:
Damir Jelić
2025-03-24 16:40:46 +01:00
parent 50934f5bc9
commit a4779299f6
5 changed files with 6 additions and 7 deletions

View File

@@ -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;

View File

@@ -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.