fix small issue and add preview images

Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2020-10-28 19:05:57 +01:00
parent a0c2d9d79e
commit a144fe6c03
No known key found for this signature in database
GPG key ID: 69DE3C3C097DB7F7
6 changed files with 7 additions and 5 deletions

View file

@ -115,6 +115,7 @@ let widget = new ListWidget();
widget.setPadding(10, 10, 10, 10)
let [nextUpcomingMeeting, ...upComingMeetings] = upcomingRemoteMeeting
upComingMeetings = upComingMeetings.slice(0, listLimit)
if (config.widgetFamily == 'small')
widget.addText("Small widget isn't supported. Please use the medium or large widget.")
@ -222,7 +223,7 @@ else if (nextUpcomingMeeting) {
}
if (!config.runsInWidget) {
await widget.presentLarge()
await widget.presentMedium()
} else {
// Tell the system to show the widget.
Script.setWidget(widget)

View file

@ -1,4 +1,6 @@
# Meeting dial in (Beta-Version)
![Meeting dial in Widget Preview light](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/previewLight.jpeg)
![Meeting dial in Widget Preview dark](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/previewDark.jpeg)
This widget shows the next and upcoming remote meeting. The widget can be used to dial into the meeting directly via phone number + pin or url.
@ -20,7 +22,6 @@ To use a different format, the format has to be set to the widget parameter. The
![Meeting dial in Widget setup](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/setup.jpeg)
## Notice 1
Since some services, such as Skype, allow own domains or phone numbers, it cannot be guaranteed that the current search patterns always find all dial-in data.
The search pattern list must be constantly expanded.

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -23,8 +23,8 @@ You can also download a Script with this Shortcut via iOS Share Menu: https://ww
<td><a href="https://github.com/ThisIsBenny/iOS-Widgets/blob/main/Covid-19">Covid-19 7-Day-Incidence for Düsseldorf</a></td>
</tr>
<tr>
<td></td>
<td></td>
<td><img height="100px" src="https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/previewLight.jpeg" /></td>
<td><img height="100px" src="https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/previewDark.jpeg" /></td>
<td><a href="https://github.com/ThisIsBenny/iOS-Widgets/blob/main/Meeting-dial-in">Meeting dial in (Beta-Version)</a></td>
</tr>
<tr>

View file

@ -18,7 +18,7 @@
"name": "Meeting dial in",
"version": "0.1.0",
"scriptURL": "https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/Meeting-dial-in.js",
"previewURL": "",
"previewURL": "https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/previewLight.jpeg",
"descriptionURL": "https://github.com/ThisIsBenny/iOS-Widgets/blob/main/Meeting-dial-in/README.md"
},
{