Select article type vy default is mobile
This commit is contained in:
parent
7306373277
commit
375e874c0b
@ -14,6 +14,7 @@ void showNewSection(String configurationId, AppContext appContext, BuildContext
|
|||||||
sectionDTO.isSubSection = isSubSection;
|
sectionDTO.isSubSection = isSubSection;
|
||||||
sectionDTO.parentId = isSubSection ? appContext.getContext().selectedSection.id : null;
|
sectionDTO.parentId = isSubSection ? appContext.getContext().selectedSection.id : null;
|
||||||
Size size = MediaQuery.of(contextBuild).size;
|
Size size = MediaQuery.of(contextBuild).size;
|
||||||
|
sectionDTO.type = isMobile ? SectionType.article : SectionType.map;
|
||||||
|
|
||||||
showDialog(
|
showDialog(
|
||||||
builder: (BuildContext context) => AlertDialog(
|
builder: (BuildContext context) => AlertDialog(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user