IPC: removed old deprecated stuff

This commit is contained in:
Lemmy
2026-01-28 18:55:56 -05:00
parent 1c6fa1b259
commit 6bdbf6903b
-22
View File
@@ -422,15 +422,6 @@ Item {
function disable() {
NetworkService.setWifiEnabled(false);
}
// TODO REMOVE IN FEB. 2026
function togglePanel() {
ToastService.showWarning("This IPC call will be deprecated soon, use 'network togglePanel' instead.");
root.screenDetector.withCurrentScreen(screen => {
var networkPanel = PanelService.getPanel("networkPanel", screen);
networkPanel?.toggle(null, "WiFi");
});
}
}
IpcHandler {
@@ -509,19 +500,6 @@ Item {
}
}
// TODO REMOVE IN FEB. 2026
IpcHandler {
target: "osd"
function showText(text: string) {
ToastService.showNotice(text, "This IPC call will be deprecated soon, use 'toast send' instead.");
}
function showTextWithIcon(text: string, icon: string) {
ToastService.showNotice(text, "This IPC call will be deprecated soon, use 'toast send' instead.", icon);
}
}
IpcHandler {
target: "toast"