Comments (7)
I'll haul my Windows machine out from the basement to test since I need it anyway to access some drives...
from desktop-wallet.
Confirmed working by @sven-hash! ✨ Even says it works without restarting the application.
from desktop-wallet.
I think electron/electron#23479 gives a better understanding of the issue and better solutions than the two you've linked. I agree, it looks non-trivial to deal with as a web developer.
As someone said concisely:
Electron has implemented a fix, however it uses nonpublic APIs and is therefore gated behind a build flag (electron/electron#23479 (comment)).
We can opt to use this build flag or ignore the issue. IMO as long as we "keep on top" of using the nonpublic API, it's ok, since this is just for non-consequential eye-candy.
Code-wise the solution appears to be simple:
const { nativeTheme } = require('electron')
nativeTheme.themeSource = 'system'
But I'm not sure if this requires us to build a particular version of electron.
from desktop-wallet.
If this is the fix, and we can verify that it works (in need of a windows machine), then I say let's just fix it.
from desktop-wallet.
https://github.com/electron/electron/releases/tag/v20.0.0 Added immersive dark mode, simply updating should correct the problem
from desktop-wallet.
I think this is more complicated than it looks.
Have a look here: https://stackoverflow.com/questions/46222035/set-color-of-windows-titlebar-electron-js
and here: https://www.npmjs.com/package/custom-electron-titlebar
from desktop-wallet.
Well my Window's machine appears to be dead. It won't power on at all... Going to ask some users in the Discord.
from desktop-wallet.
Related Issues (20)
- v2.1.1 crashes on Ubuntu HOT 1
- Blank interface after the wallet update HOT 3
- [To reproduce] Infinite token list loading HOT 1
- Show the transaction hash in the transaction modal
- Update default localhost settings to match those of alephium-stack
- Total wallet worth growth percentage is misleading compared to chart
- Update alephium services endpoints
- appimaged removes %U from Exec key in .desktop file. HOT 2
- Show address derivation path HOT 1
- Auto-update system doesn't work HOT 1
- 1D chart isn't displaying anything HOT 4
- Multiple dapp connections HOT 2
- Dapp connection loss when changing webpage HOT 2
- Wallet Error. Please, help me. What to do? HOT 2
- Cannot send tokens out of wallet. HOT 1
- spot rate time frame selector has no effect HOT 1
- Refresh rate for incoming transactions is too slow HOT 1
- Wallet is all white HOT 3
- Connection to Ayin Swap
- hello HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop-wallet.