Fix displaying storage with a connected device, the MainForm.nodeviceonstart was interrupting displaying storage, should only check for when a device is connected, which it does above this method.

This commit is contained in:
Chax
2023-04-01 23:07:41 +02:00
committed by Fenopy
parent bf91c1f9f3
commit 0c52656a5e

View File

@@ -784,7 +784,7 @@ namespace AndroidSideloader
public async void showAvailableSpace()
{
string AvailableSpace = string.Empty;
if (!Properties.Settings.Default.nodevicemode | !MainForm.nodeviceonstart & DeviceConnected)
if (!Properties.Settings.Default.nodevicemode | DeviceConnected)
{
try
{