mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-09 15:29:52 +00:00
@@ -67,8 +67,13 @@ public class TransportOptions {
|
||||
|
||||
public void disableTransport(Type type) {
|
||||
Optional<TransportOption> option = find(type);
|
||||
|
||||
if (option.isPresent()) {
|
||||
enabledTransports.remove(option.get());
|
||||
|
||||
if (manuallySelected && type == selectedType) {
|
||||
manuallySelected = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user