mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
Widgets: Make sure we have a scalar token before opening one (#1723).
Make the build of the true widget URL asynchronous and build it only when necessary.
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
|
||||
@implementation WidgetViewController
|
||||
|
||||
- (instancetype)initForWidget:(Widget*)theWidget
|
||||
- (instancetype)initWithUrl:(NSString*)widgetUrl forWidget:(Widget*)theWidget
|
||||
{
|
||||
self = [super initWithURL:theWidget.url];
|
||||
self = [super initWithURL:widgetUrl];
|
||||
if (self)
|
||||
{
|
||||
widget = theWidget;
|
||||
|
||||
Reference in New Issue
Block a user