Skip to content

Commit

Permalink
fixup! Promisify function for getting apps list
Browse files Browse the repository at this point in the history
[Issue] N/A
[Problem] Wrong use of promise
[Solution] Fixed use of promise

Signed-off-by: Lukasz Slachciak <l.slachciak@samsung.com>
  • Loading branch information
lmslachciak committed Sep 24, 2020
1 parent 62b9135 commit acac53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mobile/HomeApp/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ import Storage from "./clipping-storage.js";
//TODO: all webclips url should checked if they are valid

if (!appsList.length) {
getAppsList((apps) => {
getAppsList.then((apps) => {
appsList = apps;
updateWebClipsUI();
updateWebClipListPopup();
Expand Down

0 comments on commit acac53f

Please sign in to comment.