fix: set default dock bounce type (#19523)
This commit is contained in:
parent
d6605193a1
commit
51ce3e5a83
1 changed files with 4 additions and 1 deletions
|
@ -1345,8 +1345,11 @@ bool App::IsInApplicationsFolder() {
|
|||
return ui::cocoa::AtomBundleMover::IsCurrentAppInApplicationsFolder();
|
||||
}
|
||||
|
||||
int DockBounce(const std::string& type) {
|
||||
int DockBounce(mate::Arguments* args) {
|
||||
int request_id = -1;
|
||||
std::string type = "informational";
|
||||
args->GetNext(&type);
|
||||
|
||||
if (type == "critical")
|
||||
request_id = Browser::Get()->DockBounce(Browser::BounceType::CRITICAL);
|
||||
else if (type == "informational")
|
||||
|
|
Loading…
Reference in a new issue