For privacy and coherence: if a passcode is set, widgets should mask the current amount displayed.
Enrico shared this idea
AdminNgewi Fet (Admin, GnuCash) commented
It's a nice thought, but I am not sure its very practical.
The point of a widget is having glanceable information. If it is obscured, then what's the point?