Skip to content

Commit

Permalink
set default emoji only when status icon is null
Browse files Browse the repository at this point in the history
Signed-off-by: sowjanyakch <[email protected]>
  • Loading branch information
sowjanyakch committed Sep 27, 2024
1 parent 1347ec2 commit a6fd111
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ class SetStatusDialogFragment :

setupGeneralStatusOptions()

binding.emoji.setText(getString(R.string.default_emoji))
if(currentStatus?.icon == null){
binding.emoji.setText(getString(R.string.default_emoji))
}

binding.clearStatus.setOnClickListener { clearStatus() }
binding.setStatus.setOnClickListener { setStatusMessage() }
Expand Down

0 comments on commit a6fd111

Please sign in to comment.