Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 27, 2025
1 parent 0a2a218 commit cb12a90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lib/extensions/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ export async function setIncreaseContrast (value) {
* This function can only be called on a booted simulator.
*
* @this {CoreSimulatorWithSettings}
* @returns {Promise<string>}
* @returns {Promise<string>} the contrast configuration value.
* Possible return value is 'enabled', 'disabled',
* 'unsupported' or 'unknown' with Xcode 16.2.
* @since Xcode SDK 15 (but lower xcode could have this command)
*/
export async function getIncreaseContrast () {
Expand Down
6 changes: 3 additions & 3 deletions lib/simulator-xcode-15.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ export class SimulatorXcode15 extends SimulatorXcode14 {
*
* @override
* @since Xcode SDK 15 (but lower xcode could have this command)
* @return {Promise<string>} the contrast configuration value.
* Possible return value is 'enabled', 'disabled',
* 'unsupported' or 'unknown' with Xcode 16.2.
* @returns {Promise<string>} the contrast configuration value.
* Possible return value is 'enabled', 'disabled',
* 'unsupported' or 'unknown' with Xcode 16.2.
*/
getIncreaseContrast = async () => await this.simctl.getIncreaseContrast();

Expand Down

0 comments on commit cb12a90

Please sign in to comment.