Added tg://settings/kotato link
This commit is contained in:
parent
9c00968379
commit
6bf188fcb1
1 changed files with 3 additions and 1 deletions
|
|
@ -354,6 +354,8 @@ bool ResolveSettings(
|
||||||
}
|
}
|
||||||
const auto type = (section == qstr("folders"))
|
const auto type = (section == qstr("folders"))
|
||||||
? ::Settings::Type::Folders
|
? ::Settings::Type::Folders
|
||||||
|
: (section == qstr("kotato"))
|
||||||
|
? ::Settings::Type::Kotato
|
||||||
: ::Settings::Type::Main;
|
: ::Settings::Type::Main;
|
||||||
App::wnd()->sessionController()->showSettings(type);
|
App::wnd()->sessionController()->showSettings(type);
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -481,7 +483,7 @@ const std::vector<LocalUrlHandler> &LocalUrlHandlers() {
|
||||||
ResolvePrivatePost
|
ResolvePrivatePost
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
qsl("^settings(/folders|/devices)?$"),
|
qsl("^settings(/folders|/devices|/kotato)?$"),
|
||||||
ResolveSettings
|
ResolveSettings
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue