mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Improve key profile adapter notification code
This commit is contained in:
parent
ed86d6ac8e
commit
a66d94a743
3 changed files with 8 additions and 13 deletions
|
@ -33,8 +33,7 @@ public class KeyProfileHolder extends RecyclerView.ViewHolder {
|
|||
}
|
||||
|
||||
public void setData(KeyProfile profile) {
|
||||
_keyProfile = profile;
|
||||
if (_keyProfile == null) {
|
||||
if ((_keyProfile = profile) == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue