Skip to content

Commit 62c6b88

Browse files
docs: updated readme
1 parent 7290d09 commit 62c6b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ Generate app icons using a tool like [appicon.co](https://www.appicon.co/) to en
263263

264264
Method | Description | Parameters | Returns |
265265
--- | --- | --- | --- |
266-
**changeIcon(iconName: string)** | Changes the app's icon to the specified icon. <br/> **Note:** The package automatically closes the app on Android after changing the app icon. This behavior is implemented to prevent duplicate icons and requires no additional action from the user. | iconName (string): The name of the icon to switch to. | `Promise<void>`: Resolves with void or rejects with an error. |
267-
**getIcon()** | Retrieves the name of the currently active app icon. | None | `Promise<string>`: Resolves with the name of the current used icon or rejects with an error. |
266+
**changeIcon`<T extends string>`(iconName: T)**| Changes the app's icon to the specified icon. <br/> **Note:** The package automatically closes the app on Android after changing the app icon. This behavior is implemented to prevent duplicate icons and requires no additional action from the user. | iconName (T): The name of the icon to switch to. | `Promise<void>`: Resolves with void or rejects with an error. |
267+
**getIcon`<T extends string>`()** | Retrieves the name of the currently active app icon. | None | `Promise<T>`: Resolves with the name of the current used icon or rejects with an error. |
268268

269269
## Usage
270270

0 commit comments

Comments
 (0)