⚡️ Added a status indicator for the AirDC++ socket connection
This commit is contained in:
@@ -12,7 +12,7 @@ const AirDCPPSocketContextProvider = ({ children }) => {
|
|||||||
airDCPPState: {
|
airDCPPState: {
|
||||||
settings: settingsObject,
|
settings: settingsObject,
|
||||||
socket: {},
|
socket: {},
|
||||||
socketConnectionInformation: {},
|
socketConectionInformation: {},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@@ -55,7 +55,6 @@ const AirDCPPSocketContextProvider = ({ children }) => {
|
|||||||
protocol: `${host.protocol}`,
|
protocol: `${host.protocol}`,
|
||||||
hostname: `${host.hostname}:${host.port}`,
|
hostname: `${host.hostname}:${host.port}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
const socketConnectionInformation = await initializedAirDCPPSocket.connect(
|
const socketConnectionInformation = await initializedAirDCPPSocket.connect(
|
||||||
`${host.username}`,
|
`${host.username}`,
|
||||||
`${host.password}`,
|
`${host.password}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user