diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-03-08 17:07:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 17:07:06 +0100 |
commit | b2b4f34d967e1aed556847b349b8b39f429938d2 (patch) | |
tree | 884e3e321ee63ecab3cc64f346340fcc8778c7c8 /lib/public | |
parent | 170f93ad725c31f0ac870ac91e5ba78617c1c2cf (diff) | |
parent | c8d7a5acaabb5c2f8bae1ccb70ce9c76cfd86c5c (diff) | |
download | nextcloud-server-b2b4f34d967e1aed556847b349b8b39f429938d2.tar.gz nextcloud-server-b2b4f34d967e1aed556847b349b8b39f429938d2.zip |
Merge pull request #44073 from nextcloud/fix/provide-correct-icon
fix(AppManager): Allow to query dark **or** bright icon
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/App/IAppManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index 968771388dc..142e8bb8515 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -65,10 +65,11 @@ interface IAppManager { * Returns the app icon or null if none is found * * @param string $appId + * @param bool $dark Enable to request a dark icon variant, default is a white icon * @return string|null * @since 29.0.0 */ - public function getAppIcon(string $appId): string|null; + public function getAppIcon(string $appId, bool $dark = false): string|null; /** * Check if an app is enabled for user |