mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-30 21:52:28 +01: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