Compare commits
2 commits
6e3aef2e84
...
5b9a8906d2
Author | SHA1 | Date | |
---|---|---|---|
5b9a8906d2 | |||
04f94f5aab |
1 changed files with 5 additions and 5 deletions
|
@ -3,10 +3,7 @@ use actix::prelude::*;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
alerts::messages::NotifyUser,
|
alerts::messages::NotifyUser,
|
||||||
server::{
|
server::{actor::messages::RepoUpdate, ServerActor},
|
||||||
actor::messages::{RepoUpdate, ServerUpdate},
|
|
||||||
ServerActor,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
use derive_more::Deref;
|
use derive_more::Deref;
|
||||||
use kxio::network::Network;
|
use kxio::network::Network;
|
||||||
|
@ -114,6 +111,7 @@ impl RepoActor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_variables)]
|
||||||
fn update_tui_log(&self, log: git::graph::Log) {
|
fn update_tui_log(&self, log: git::graph::Log) {
|
||||||
#[cfg(feature = "tui")]
|
#[cfg(feature = "tui")]
|
||||||
{
|
{
|
||||||
|
@ -121,6 +119,7 @@ impl RepoActor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_variables)]
|
||||||
fn alert_tui(&self, alert: impl Into<String>) {
|
fn alert_tui(&self, alert: impl Into<String>) {
|
||||||
#[cfg(feature = "tui")]
|
#[cfg(feature = "tui")]
|
||||||
{
|
{
|
||||||
|
@ -130,6 +129,7 @@ impl RepoActor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_variables)]
|
||||||
fn update_tui(&self, repo_update: RepoUpdate) {
|
fn update_tui(&self, repo_update: RepoUpdate) {
|
||||||
#[cfg(feature = "tui")]
|
#[cfg(feature = "tui")]
|
||||||
{
|
{
|
||||||
|
@ -137,7 +137,7 @@ impl RepoActor {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
let update = ServerUpdate::RepoUpdate {
|
let update = crate::server::actor::messages::ServerUpdate::RepoUpdate {
|
||||||
forge_alias: self.repo_details.forge.forge_alias().clone(),
|
forge_alias: self.repo_details.forge.forge_alias().clone(),
|
||||||
repo_alias: self.repo_details.repo_alias.clone(),
|
repo_alias: self.repo_details.repo_alias.clone(),
|
||||||
repo_update,
|
repo_update,
|
||||||
|
|
Loading…
Reference in a new issue