We are discarding the value if there's no weights which meant that when
setting a button to "", the text provided by mnemonicLabel wouldn't update.
This patch changes it so it only skips the weights computation if there's no
text.
Details
Details
- Reviewers
mart ngraham - Group Reviewers
Kirigami - Commits
- R169:e649887194f5: Account for a mnemonic label to go back to ""
Tested with patch that removes the text of some buttons when the
screen is smaller on Discover.
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.