Skip to content

Commit

Permalink
removing async keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
SameeraMadushan committed Feb 24, 2021
1 parent 951b589 commit 2b8059e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/isAppInstalled/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Linking} from 'react-native';
* @param {String} urlScheme
* @returns {Promise}
*/
export default async function isAppInstalled(urlScheme) {
export default function isAppInstalled(urlScheme) {
return new Promise((resolve, reject) => {
Linking.canOpenURL(`${urlScheme}://`)
.then((isInstalled) => {
Expand Down

0 comments on commit 2b8059e

Please sign in to comment.