diff --git a/Riot/Managers/Widgets/WidgetManager.m b/Riot/Managers/Widgets/WidgetManager.m index 81413d812..3595eb4df 100644 --- a/Riot/Managers/Widgets/WidgetManager.m +++ b/Riot/Managers/Widgets/WidgetManager.m @@ -779,6 +779,8 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain"; NSData *configsData = [userDefaults objectForKey:@"integrationManagerConfigs"]; if (configsData) { + // We need to map the config class name since the bundle name was updated otherwise unarchiving crashes. + [NSKeyedUnarchiver setClass:WidgetManagerConfig.class forClassName:@"Riot.WidgetManagerConfig"]; configs = [NSMutableDictionary dictionaryWithDictionary:[NSKeyedUnarchiver unarchiveObjectWithData:configsData]]; } diff --git a/changelog.d/6539.bugfix b/changelog.d/6539.bugfix new file mode 100644 index 000000000..392f528b1 --- /dev/null +++ b/changelog.d/6539.bugfix @@ -0,0 +1 @@ +Widgets: Fix a crash when loading the widget manager.