mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 21:28:20 -06:00
uwu
This commit is contained in:
parent
09af18dda0
commit
caa7cf9aeb
|
@ -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