mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-21 22:31:44 +01:00
Merge pull request #4470 from chimp1984/add-dontshowagain-button
Add dontShowAgain button in osxKeyLoggerWarning window
This commit is contained in:
commit
670a3d64cc
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue