mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-25 16:28:42 -06:00
uwu
This commit is contained in:
parent
50cc36e3d5
commit
af3c938a03
|
@ -49,6 +49,6 @@ pub fn init_chat_manager(
|
||||||
storages: AllStoragesView,
|
storages: AllStoragesView,
|
||||||
) {
|
) {
|
||||||
let mut chat_manager = ChatManager::default();
|
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);
|
storages.add_unique(chat_manager);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@ pub fn render_chat(
|
||||||
};
|
};
|
||||||
Container::default()
|
Container::default()
|
||||||
.with_background((0., 0., 0., 0.5))
|
.with_background((0., 0., 0., 0.5))
|
||||||
|
.with_padding((5., 2.))
|
||||||
.with_children(|ui| {
|
.with_children(|ui| {
|
||||||
Text::new(text)
|
Text::new(text)
|
||||||
.add_child(ui)
|
.add_child(ui)
|
||||||
|
|
Loading…
Reference in a new issue