remove redundant clones
This commit is contained in:
parent
e9af664888
commit
b472a155fc
7 changed files with 13 additions and 15 deletions
|
|
@ -346,10 +346,10 @@ impl cosmic::Application for CosmicNetworkApplet {
|
|||
{
|
||||
let _ = tx.unbounded_send(NetworkManagerRequest::Password(
|
||||
access_point.ssid.clone(),
|
||||
password.to_string(),
|
||||
password,
|
||||
));
|
||||
self.new_connection
|
||||
.replace(NewConnectionState::Waiting(access_point.clone()));
|
||||
.replace(NewConnectionState::Waiting(access_point));
|
||||
};
|
||||
}
|
||||
Message::ActivateKnownWifi(ssid) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue