Skip to content

Commit

Permalink
Change of "add" button
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Jul 3, 2024
1 parent eaa5c44 commit 82b89e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: PHP CS Fixer
on: push

jobs:
tests:
fixers:
uses: humhub/actions/.github/workflows/module-php-cs-fixer.yml@main
4 changes: 2 additions & 2 deletions widgets/NewMessageButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NewMessageButton extends Widget
/**
* @var bool
*/
public $right = false;
public $right = true;

/**
* @var string
Expand All @@ -49,7 +49,7 @@ class NewMessageButton extends Widget
*/
public function run()
{
$button = ModalButton::info($this->getLabel())->load(Url::toCreateConversation($this->guid))->id($this->id);
$button = ModalButton::defaultType($this->getLabel())->load(Url::toCreateConversation($this->guid))->id($this->id);

if($this->icon) {
$button->icon($this->icon);
Expand Down

0 comments on commit 82b89e4

Please sign in to comment.