mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Fixed a couple of bugs in settings.
This commit is contained in:
@@ -596,8 +596,10 @@ class TorPlugin implements DuplexPlugin, EventHandler,
|
||||
|
||||
public void eventOccurred(Event e) {
|
||||
if (e instanceof SettingsUpdatedEvent) {
|
||||
// Wifi setting may have been updated
|
||||
updateConnectionStatus();
|
||||
if (((SettingsUpdatedEvent) e).getNamespace().equals("tor")) {
|
||||
// Wifi setting may have been updated
|
||||
updateConnectionStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user