Compare commits
2 commits
5b9a8906d2
...
6e3aef2e84
Author | SHA1 | Date | |
---|---|---|---|
6e3aef2e84 | |||
6efe82d5b6 |
1 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,10 @@ use actix::prelude::*;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
alerts::messages::NotifyUser,
|
alerts::messages::NotifyUser,
|
||||||
server::{actor::messages::RepoUpdate, ServerActor},
|
server::{
|
||||||
|
actor::messages::{RepoUpdate, ServerUpdate},
|
||||||
|
ServerActor,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
use derive_more::Deref;
|
use derive_more::Deref;
|
||||||
use kxio::network::Network;
|
use kxio::network::Network;
|
||||||
|
@ -111,7 +114,6 @@ 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")]
|
||||||
{
|
{
|
||||||
|
@ -119,7 +121,6 @@ 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")]
|
||||||
{
|
{
|
||||||
|
@ -129,7 +130,6 @@ 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 = crate::server::actor::messages::ServerUpdate::RepoUpdate {
|
let update = 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