Hid the footer in AlbumList when launched as appControl
[apps/osp/Gallery.git] / src / GlAlbumListForm.cpp
index b09136e..5b6bc71 100644 (file)
@@ -161,9 +161,11 @@ AlbumListForm::InitializeFooter(void)
        if (__pPresentationModel->GetAppControlMode() == APPCONTROL_MODE_PICK)
        {
                SetFormBackEventListener(this);
+               pFooter->SetShowState(false);
        }
        else
        {
+               pFooter->SetShowState(true);
                pFooter->SetStyle(FOOTER_STYLE_BUTTON_ICON);
                pFooter->RemoveAllItems();