mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-04-19 23:37:41 +00:00
fix small issue and add preview images
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
a0c2d9d79e
commit
a144fe6c03
6 changed files with 7 additions and 5 deletions
|
@ -115,6 +115,7 @@ let widget = new ListWidget();
|
||||||
widget.setPadding(10, 10, 10, 10)
|
widget.setPadding(10, 10, 10, 10)
|
||||||
|
|
||||||
let [nextUpcomingMeeting, ...upComingMeetings] = upcomingRemoteMeeting
|
let [nextUpcomingMeeting, ...upComingMeetings] = upcomingRemoteMeeting
|
||||||
|
upComingMeetings = upComingMeetings.slice(0, listLimit)
|
||||||
|
|
||||||
if (config.widgetFamily == 'small')
|
if (config.widgetFamily == 'small')
|
||||||
widget.addText("Small widget isn't supported. Please use the medium or large widget.")
|
widget.addText("Small widget isn't supported. Please use the medium or large widget.")
|
||||||
|
@ -222,7 +223,7 @@ else if (nextUpcomingMeeting) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.runsInWidget) {
|
if (!config.runsInWidget) {
|
||||||
await widget.presentLarge()
|
await widget.presentMedium()
|
||||||
} else {
|
} else {
|
||||||
// Tell the system to show the widget.
|
// Tell the system to show the widget.
|
||||||
Script.setWidget(widget)
|
Script.setWidget(widget)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
# Meeting dial in (Beta-Version)
|
# Meeting dial in (Beta-Version)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
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.
|
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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Notice 1
|
## 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.
|
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.
|
The search pattern list must be constantly expanded.
|
||||||
|
|
BIN
Meeting-dial-in/previewDark.jpeg
Normal file
BIN
Meeting-dial-in/previewDark.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
Meeting-dial-in/previewLight.jpeg
Normal file
BIN
Meeting-dial-in/previewLight.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td><img height="100px" src="https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/previewLight.jpeg" /></td>
|
||||||
<td></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>
|
<td><a href="https://github.com/ThisIsBenny/iOS-Widgets/blob/main/Meeting-dial-in">Meeting dial in (Beta-Version)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"name": "Meeting dial in",
|
"name": "Meeting dial in",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"scriptURL": "https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/Meeting-dial-in/Meeting-dial-in.js",
|
"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"
|
"descriptionURL": "https://github.com/ThisIsBenny/iOS-Widgets/blob/main/Meeting-dial-in/README.md"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue