Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//! Banner shown when the remote-server binary check, installation, or connection fails on the remote host.
|
||||
//! We fall back to the existing Warpification behavior and display this banner so the user knows why advanced features are unavailable.
|
||||
|
||||
use warp_core::ui::theme::color::internal_colors;
|
||||
use warpui::{
|
||||
use galaxy_core::ui::theme::color::internal_colors;
|
||||
use galaxyui::{
|
||||
elements::{
|
||||
ConstrainedBox, Container, CrossAxisAlignment, Flex, Hoverable, MainAxisAlignment,
|
||||
MainAxisSize, MouseStateHandle, ParentElement, Shrinkable, Text,
|
||||
@@ -60,7 +60,7 @@ impl View for SshRemoteServerFailedBanner {
|
||||
|
||||
// Alert-circle icon
|
||||
let icon = Container::new(
|
||||
ConstrainedBox::new(Icon::AlertCircle.to_warpui_icon(fg_color.into()).finish())
|
||||
ConstrainedBox::new(Icon::AlertCircle.to_galaxyui_icon(fg_color.into()).finish())
|
||||
.with_width(16.)
|
||||
.with_height(16.)
|
||||
.finish(),
|
||||
@@ -93,7 +93,7 @@ impl View for SshRemoteServerFailedBanner {
|
||||
// Close (X) button
|
||||
let close_icon_color = muted_color;
|
||||
let close = Hoverable::new(self.close_mouse_state.clone(), move |_| {
|
||||
ConstrainedBox::new(Icon::X.to_warpui_icon(close_icon_color.into()).finish())
|
||||
ConstrainedBox::new(Icon::X.to_galaxyui_icon(close_icon_color.into()).finish())
|
||||
.with_width(16.)
|
||||
.with_height(16.)
|
||||
.finish()
|
||||
|
||||
Reference in New Issue
Block a user