chore: Update todos

This commit is contained in:
DashieTM 2024-06-12 23:52:09 +02:00
parent e7c0995aa3
commit ee7129009a
13 changed files with 14 additions and 16 deletions

View file

@ -55,7 +55,7 @@ impl SavedWifiEntry {
let entry_ref = entry.clone();
delete_button.connect_clicked(clone!(@weak wifi_box => move |_| {
delete_connection(entry_ref.imp().reset_connection_path.take());
// TODO handle error
// FUTURE TODO: handle error
wifi_box.reset_stored_wifi_list.remove(&*entry_ref);
}));

View file

@ -209,7 +209,7 @@ pub fn show_stored_connections(wifi_box: Arc<WifiBox>) {
glib::idle_add_once(move || {
let self_imp = wifibox_ref.imp();
for connection in connections {
// TODO include button for settings
// FUTURE TODO: include button for settings
let name =
&String::from_utf8(connection.1).unwrap_or_else(|_| String::from(""));
let entry = SavedWifiEntry::new(name, connection.0, self_imp);

View file

@ -48,7 +48,7 @@ impl WifiEntry {
.build(),
);
// TODO handle encryption thing
// FUTURE TODO: handle encryption
let wifi_strength = Image::builder()
.icon_name(match strength {
WifiStrength::Excellent => "network-wireless-signal-excellent-symbolic",
@ -177,7 +177,7 @@ pub fn click_stored_network(entry: Arc<WifiEntry>) {
});
});
});
// TODO crate spinner animation and block UI
// FUTURE TODO: crate spinner animation and block UI
}
pub fn click_new_network(entry: Arc<WifiEntry>) {
@ -228,7 +228,7 @@ pub fn click_new_network(entry: Arc<WifiEntry>) {
});
});
});
// TODO crate spinner animation and block UI
// FUTURE TODO: crate spinner animation and block UI
};
let entry_imp = entry.imp();

View file

@ -72,7 +72,7 @@ pub fn access_point_changed_handler(wifi_box: Arc<WifiBox>, ir: AccessPointChang
let name = name_opt.as_str();
entry_imp.wifi_strength.set(strength);
entry.set_title(name);
// TODO handle encryption thing
// FUTURE TODO: handle encryption thing
entry_imp
.reset_wifi_strength
.borrow()