Skip to content

Commit

Permalink
vaktija-desklet@MuxBH28: Update desklet.js, remove unnecessary logging (
Browse files Browse the repository at this point in the history
  • Loading branch information
MuxBH28 authored Oct 25, 2024
1 parent e86a104 commit 95495fd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ VaktijaDesklet.prototype = {
url = url + 'vaktija/v1/' + location;
}

global.log("Fetching data from URL: " + url);

let file = Gio.File.new_for_uri(url);
file.load_contents_async(null, (obj, result) => {
try {
Expand Down Expand Up @@ -208,7 +206,6 @@ VaktijaDesklet.prototype = {
${this.getTranslation("Jacija")}: ${this.lastFetchedData.vakat[5]}
`;

global.log("Display text: " + displayText);
this.text.set_text(displayText);
} catch (e) {
global.logError("Error in updateDisplay: " + e.message);
Expand Down

0 comments on commit 95495fd

Please sign in to comment.