Skip to content

Commit

Permalink
Removed experiments from menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Sominemo committed Apr 23, 2020
1 parent 38a91e2 commit 364f6db
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions src/app/modules/mono/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import WindowManager from "@Core/Services/SimpleWindowManager"
import Navigation from "@Core/Services/navigation"
import { $$ } from "@Core/Services/Language/handler"
import { CoreLoader } from "@Core/Init/CoreLoader"
import { Title, Icon } from "@Environment/Library/DOM/object"
import { Title } from "@Environment/Library/DOM/object"
import { Card, CardList } from "@Environment/Library/DOM/object/card"
import IconSide from "@Environment/Library/DOM/object/iconSide"
import Tip from "@App/library/Tip"
Expand All @@ -14,8 +14,6 @@ import LanguageCore from "@Core/Services/Language/core"
import SettingsStorage from "@Core/Services/Settings/SettingsStorage"
import Sleep from "@Core/Tools/objects/sleep"
import { ContextMenu } from "@Environment/Library/DOM/elements"
import icons from "@Resources/datasets/Emoji-To-MD-Icon/dataset"
import DOM from "@DOMPath/DOM/Classes/dom"
import Auth from "./services/Auth"
import PWA from "../main/PWA"

Expand Down Expand Up @@ -74,29 +72,6 @@ export default class MenuUI {
}), true),
))

Array.from(Object.values(icons)).forEach((e) => {
w.render(
new DOM({
new: "div",
style: {
display: "inline-flex",
width: "42px",
height: "42px",
minWidth: "42px",
minHeight: "42px",
alignItems: "center",
justifyContent: "center",
margin: "5px",
background: e.color,
borderRadius: "50%",
},
content: [
new Icon(e.icon, { fontSize: "23px" }),
],
}),
)
})

delayAction(async () => {
const lastSeen = await SettingsStorage.getFlag("changelog_seen")
if (lastSeen === lastChangelog.version) return
Expand Down

0 comments on commit 364f6db

Please sign in to comment.