mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-14 08:07:01 +00:00
update default icon for calendars (#3879)
While looking at https://github.com/MagicMirrorOrg/MagicMirror-Documentation/issues/114 I noticed that the default icon is not named correctly. `calendar-alt` should be called `calendar-days` which seems to be its fallback anyways. I also updated the link to the icon search --------- Co-authored-by: veeck <gitkraken@veeck.de> Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>
This commit is contained in:
@@ -40,6 +40,7 @@ Thanks to: @dathbe.
|
|||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
|
|
||||||
|
- [calendar] Update defaultSymbol name and also the link to the icon search site (#3879)
|
||||||
- [core] Update dependencies including electron to v38 as well as github actions (#3831, #3849, #3857, #3858, #3872, #3876, #3882)
|
- [core] Update dependencies including electron to v38 as well as github actions (#3831, #3849, #3857, #3858, #3872, #3876, #3882)
|
||||||
- [weather] Update feels_like temperature calculation formula (#3869)
|
- [weather] Update feels_like temperature calculation formula (#3869)
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ Module.register("calendar", {
|
|||||||
limitDays: 0, // Limit the number of days shown, 0 = no limit
|
limitDays: 0, // Limit the number of days shown, 0 = no limit
|
||||||
pastDaysCount: 0,
|
pastDaysCount: 0,
|
||||||
displaySymbol: true,
|
displaySymbol: true,
|
||||||
defaultSymbol: "calendar-alt", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io
|
defaultSymbol: "calendar-days", // Fontawesome Symbol see https://fontawesome.com/search?ic=free&o=r
|
||||||
defaultSymbolClassName: "fas fa-fw fa-",
|
defaultSymbolClassName: "fas fa-fw fa-",
|
||||||
showLocation: false,
|
showLocation: false,
|
||||||
displayRepeatingCountTitle: false,
|
displayRepeatingCountTitle: false,
|
||||||
|
@@ -42,7 +42,7 @@ describe("Calendar module", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("should show the default calendar symbol in each event", async () => {
|
it("should show the default calendar symbol in each event", async () => {
|
||||||
await expect(testElementLength(".calendar .event .fa-calendar-alt", 0, "not")).resolves.toBe(true);
|
await expect(testElementLength(".calendar .event .fa-calendar-days", 0, "not")).resolves.toBe(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user