[bisq-network/bisq] Fix dark mode slider switch not disabling dark mode on first try (#3754)

wiz notifications at github.com
Fri Dec 6 04:11:14 UTC 2019


Apparently the preferences property listener I was using doesn't call
the event handler on the first change for some reason. This is a
workaround to change the CSS theme directly from the slider switch.

Needs review and testing! Fixes #3447 
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/3754

-- Commit Summary --

  * Fix dark mode slider switch not disabling dark mode on first try

-- File Changes --

    M core/src/main/java/bisq/core/user/Preferences.java (4)
    M desktop/src/main/java/bisq/desktop/app/BisqApp.java (3)
    M desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java (14)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/3754.patch
https://github.com/bisq-network/bisq/pull/3754.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191205/781a1a18/attachment.html>


More information about the bisq-github mailing list