Skip to content

Commit

Permalink
cleaning npm dep
Browse files Browse the repository at this point in the history
  • Loading branch information
strukturart committed Aug 6, 2023
1 parent 91fd77a commit f02d2c7
Show file tree
Hide file tree
Showing 9 changed files with 451 additions and 771 deletions.
7 changes: 5 additions & 2 deletions application/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
pushLocalNotification,
isAnyAudioPlaying,
} from "./assets/js/helper.js";
import { screenlock, hashCode, formatFileSize } from "./assets/js/helper.js";
import { hashCode, formatFileSize } from "./assets/js/helper.js";
import { loadCache, saveCache, getTime } from "./assets/js/cache.js";
import { bottom_bar, top_bar, list_files, notify } from "./assets/js/helper.js";
import { start_scan } from "./assets/js/scan.js";
Expand Down Expand Up @@ -1089,7 +1089,7 @@ const loadMastodon = () => {
if (localStorage.getItem("oauth_auth") == null) return false;

mastodon_account_info()
.then(() => {
.then((data) => {
mastodon_load_feed(mastodon_timeline_urls.home);
mastodon_load_feed(mastodon_timeline_urls.local);
panels.push("mastodon home");
Expand All @@ -1103,6 +1103,9 @@ const loadMastodon = () => {
document
.querySelector("[data-function='mastodon-connect']")
.setAttribute("data-function", "mastodon-disconnect");

document.querySelector("button.mastodon-connect-button").innerText =
"disconnect";
})
.catch((e) => {
console.log(e);
Expand Down
5 changes: 2 additions & 3 deletions application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
<div id="youtube-player" class="width-100 height-100">
<div id="iframe-wrapper">
<iframe
src=" "
scrolling="no"
frameborder="”0″"
src="#"
mozbrowser
allowfullscreen
></iframe>
Expand Down Expand Up @@ -202,7 +202,6 @@ <h2>Settings</h2>
<label for="time">automatic download of new content</label>
<select id="time" class="select-box">
<option value="never">on start</option>
<option value="2">2min</option>
<option value="20">20min</option>
<option value="40">40min</option>
<option value="60">1h</option>
Expand Down Expand Up @@ -241,7 +240,7 @@ <h2>Mastodon</h2>
id="mastodon-server"
/>
</div>
<button class="item" data-function="mastodon-connect">Connect</button>
<button class="item mastodon-connect-button" data-function="mastodon-connect">Connect</button>

<div class="item input-parent">
<label for="sleep-mode"
Expand Down
2 changes: 1 addition & 1 deletion application/manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"launch_path": "/index.html",
"type": "privileged",
"fullscreen": "true",

"categories": ["News","Social"],
"icons": {
"56": "/assets/icons/icon-56-56.png",
"112": "/assets/icons/icon-112-112.png"
Expand Down
2 changes: 1 addition & 1 deletion application/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"lang": "en-US",
"start_url": "/index.html",
"short_name": "Feedolin",
"categories": ["utilities"],
"categories": ["News","Social"],

"icons": [
{
Expand Down
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ exit




2 changes: 1 addition & 1 deletion dist/manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"launch_path": "/index.html",
"type": "privileged",
"fullscreen": "true",

"categories": ["News","Social"],
"icons": {
"56": "/assets/icons/icon-56-56.png",
"112": "/assets/icons/icon-112-112.png"
Expand Down
2 changes: 1 addition & 1 deletion dist/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"lang": "en-US",
"start_url": "/index.html",
"short_name": "Feedolin",
"categories": ["utilities"],
"categories": ["News","Social"],

"icons": [
{
Expand Down
Loading

0 comments on commit f02d2c7

Please sign in to comment.