This commit is contained in:
griffi-gh 2024-04-25 13:41:50 +02:00
parent 50cc36e3d5
commit af3c938a03
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,6 @@ pub fn init_chat_manager(
storages: AllStoragesView,
) {
let mut chat_manager = ChatManager::default();
chat_manager.add_system_message("Welcome to Kubi!".to_string());
chat_manager.add_system_message("Welcome to Kubi! Chat messages will appear here".to_string());
storages.add_unique(chat_manager);
}

View file

@ -28,6 +28,7 @@ pub fn render_chat(
};
Container::default()
.with_background((0., 0., 0., 0.5))
.with_padding((5., 2.))
.with_children(|ui| {
Text::new(text)
.add_child(ui)