diff --git a/lib/Screens/Configurations/new_section_popup.dart b/lib/Screens/Configurations/new_section_popup.dart index f9b0f14..7ba11a2 100644 --- a/lib/Screens/Configurations/new_section_popup.dart +++ b/lib/Screens/Configurations/new_section_popup.dart @@ -14,6 +14,7 @@ void showNewSection(String configurationId, AppContext appContext, BuildContext sectionDTO.isSubSection = isSubSection; sectionDTO.parentId = isSubSection ? appContext.getContext().selectedSection.id : null; Size size = MediaQuery.of(contextBuild).size; + sectionDTO.type = isMobile ? SectionType.article : SectionType.map; showDialog( builder: (BuildContext context) => AlertDialog(