From 375e874c0bddc2bba78cb8230696e37771e2cdec Mon Sep 17 00:00:00 2001 From: Fransolet Thomas Date: Wed, 19 Oct 2022 17:19:35 +0200 Subject: [PATCH] Select article type vy default is mobile --- lib/Screens/Configurations/new_section_popup.dart | 1 + 1 file changed, 1 insertion(+) 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(