mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add dontShowAgain button in osxKeyLoggerWarning window
This commit is contained in:
parent
7c4273285e
commit
341c5193ce
@ -389,9 +389,13 @@ public class MainViewModel implements ViewModel, BisqSetup.BisqSetupListener {
|
||||
showRevolutAccountUpdateWindow(new ArrayList<>(revolutAccountList));
|
||||
});
|
||||
bisqSetup.setOsxKeyLoggerWarningHandler(() -> {
|
||||
new Popup().warning(Res.get("popup.warning.osxKeyLoggerWarning"))
|
||||
.closeButtonText(Res.get("shared.iUnderstand"))
|
||||
.show();
|
||||
String key = "osxKeyLoggerWarning";
|
||||
if (preferences.showAgain(key)) {
|
||||
new Popup().warning(Res.get("popup.warning.osxKeyLoggerWarning"))
|
||||
.closeButtonText(Res.get("shared.iUnderstand"))
|
||||
.dontShowAgainId(key)
|
||||
.show();
|
||||
}
|
||||
});
|
||||
|
||||
corruptedDatabaseFilesHandler.getCorruptedDatabaseFiles().ifPresent(files -> new Popup()
|
||||
|
Loading…
Reference in New Issue
Block a user