Merge branch 'main' of github.com:MM2-0/Kvaesitso

This commit is contained in:
MM20 2024-02-21 18:39:12 +01:00
commit f787504e37
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# Plugin Settings
To add a plugin settings activity, create an activity with the following intent filter:
```xml
<activity
android:name=".SettingsActivity"
android:exported="true">
<intent-filter>
<action android:name="de.mm20.launcher2.action.PLUGIN_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
```
Users can launch this activity by pressing the <span class="material-symbols-rounded">settings</span> on the plugin settings screen.

View File

@ -77,6 +77,10 @@ export const DeveloperGuideSidebar: DefaultTheme.SidebarItem[] = [
text: 'Metadata',
link: '/docs/developer-guide/plugins/metadata',
},
{
text: 'Plugin Settings',
link: '/docs/developer-guide/plugins/settings',
},
{
text: 'Access Control',
link: '/docs/developer-guide/plugins/access-control',