1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

Send: initialize active network

This commit is contained in:
M66B 2024-03-07 19:39:29 +01:00
parent 503c1f521e
commit b0ec6e7489

View file

@ -175,6 +175,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
}
});
lastActive = ConnectionHelper.getActiveNetwork(this);
lastSuitable = ConnectionHelper.getNetworkState(this).isSuitable();
if (lastSuitable)
owner.start();