<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/main_navigation"
    app:startDestination="@id/splashScreen">

    <navigation
        android:id="@+id/objectNavigation"
        app:startDestination="@id/pageScreen">
        <fragment
            android:id="@+id/pageScreen"
            android:name="com.anytypeio.anytype.ui.editor.EditorFragment"
            android:label="Page screen"
            tools:layout="@layout/fragment_editor">
            <action
                android:id="@+id/action_pageScreen_to_objectCoverScreen"
                app:destination="@id/objectCoverScreen"
                app:enterAnim="@anim/nav_default_enter_anim"
                app:exitAnim="@anim/nav_default_exit_anim"
                app:popEnterAnim="@anim/nav_default_pop_enter_anim"
                app:popExitAnim="@anim/nav_default_pop_exit_anim" />
            <action
                android:id="@+id/action_pageScreen_to_objectIconPickerScreen"
                app:destination="@id/objectIconPickerScreen"
                app:enterAnim="@anim/nav_default_enter_anim"
                app:exitAnim="@anim/nav_default_exit_anim"
                app:popEnterAnim="@anim/nav_default_pop_enter_anim"
                app:popExitAnim="@anim/nav_default_pop_exit_anim" />
        </fragment>
        <dialog
            android:id="@+id/objectMenuScreen"
            android:name="com.anytypeio.anytype.ui.editor.sheets.ObjectMenuFragment"
            android:label="Object-Menu-Screen" />
        <dialog
            android:id="@+id/objectRelationListScreen"
            android:name="com.anytypeio.anytype.ui.relations.ObjectRelationListFragment"
            android:label="Object-Relation-List-Screen" />
        <dialog
            android:id="@+id/objectIconPickerScreen"
            android:name="com.anytypeio.anytype.ui.editor.modals.ObjectIconPickerFragment"
            android:label="Object-Icon-Picker-Screen" />
        <dialog
            android:id="@+id/objectCoverScreen"
            android:name="com.anytypeio.anytype.ui.editor.cover.SelectCoverObjectFragment"
            android:label="Object-Cover-Screen" />
        <dialog
            android:id="@+id/objectCoverUnsplashScreen"
            android:name="com.anytypeio.anytype.ui.editor.cover.ObjectUnsplashFragment"
            android:label="Object-Cover-Unsplash-Screen" />
        <dialog
            android:id="@+id/relationAddToObjectBlockFragment"
            android:name="com.anytypeio.anytype.ui.relations.RelationAddToObjectBlockFragment"
            android:label="RelationAddToObjectBlockFragment">
            <action
                android:id="@+id/action_relationAddToObjectBlockFragment_to_relationCreateFromScratchForObjectBlockFragment"
                app:destination="@id/relationCreateFromScratchForObjectBlockFragment"
                app:enterAnim="@anim/nav_default_enter_anim"
                app:exitAnim="@anim/nav_default_exit_anim"
                app:popEnterAnim="@anim/nav_default_pop_enter_anim"
                app:popExitAnim="@anim/nav_default_pop_exit_anim" />
        </dialog>
        <dialog
            android:id="@+id/relationCreateFromScratchForObjectBlockFragment"
            android:name="com.anytypeio.anytype.ui.relations.RelationCreateFromScratchForObjectBlockFragment"
            android:label="RelationCreateFromScratchForObjectBlockFragment" />

        <dialog
            android:id="@+id/objectValueScreen"
            android:name="com.anytypeio.anytype.ui.relations.value.ObjectValueFragment"
            android:label="Relation-Object-Value-Screen" />

        <dialog
            android:id="@+id/versionHistoryScreen"
            android:name="com.anytypeio.anytype.ui.history.VersionHistoryFragment"
            android:label="Object-Version_history-Screen"/>
        <action
            android:id="@+id/actionOpenSpaceSwitcher"
            app:destination="@id/selectSpaceScreen" />
        <action
            android:id="@+id/actionExitToSpaceWidgets"
            app:popUpTo="@+id/homeScreen"
            app:popUpToInclusive="false" />
    </navigation>

    <include app:graph="@navigation/nav_editor_modal" />
    <include app:graph="@navigation/nav_templates_modal" />
    <include app:graph="@navigation/nav_relations" />

    <navigation
        android:id="@+id/dataViewNavigation"
        app:startDestination="@id/objectSetScreen">
        <fragment
            android:id="@+id/objectSetScreen"
            android:name="com.anytypeio.anytype.ui.sets.ObjectSetFragment"
            android:label="ObjectSetScreen">
            <action
                android:id="@+id/action_objectSetScreen_to_objectSetIconPickerScreen"
                app:destination="@id/objectSetIconPickerScreen"
                app:enterAnim="@anim/nav_default_enter_anim"
                app:exitAnim="@anim/nav_default_exit_anim"
                app:popEnterAnim="@anim/nav_default_pop_enter_anim"
                app:popExitAnim="@anim/nav_default_pop_exit_anim" />
            <action
                android:id="@+id/action_objectSetScreen_to_objectSetCoverScreen"
                app:destination="@id/objectSetCoverScreen"
                app:enterAnim="@anim/nav_default_enter_anim"
                app:exitAnim="@anim/nav_default_exit_anim"
                app:popEnterAnim="@anim/nav_default_pop_enter_anim"
                app:popExitAnim="@anim/nav_default_pop_exit_anim" />
        </fragment>
        <dialog
            android:id="@+id/objectRelationListScreen"
            android:name="com.anytypeio.anytype.ui.relations.ObjectRelationListFragment"
            android:label="Object-Relation-List-Screen" />
        <dialog
            android:id="@+id/objectSetMainMenuScreen"
            android:name="com.anytypeio.anytype.ui.sets.ObjectSetMenuFragment"
            android:label="Object-SetMenu" />
        <dialog
            android:id="@+id/objectSetIconPickerScreen"
            android:name="com.anytypeio.anytype.ui.sets.ObjectSetIconPickerFragment"
            android:label="Object-Set-Icon-Picker-Screen">
            <argument
                android:name="arg.show_remove_button"
                android:defaultValue="true"
                app:argType="boolean" />
        </dialog>
        <dialog
            android:id="@+id/objectSetCoverScreen"
            android:name="com.anytypeio.anytype.ui.editor.cover.SelectCoverObjectSetFragment"
            android:label="Object-Cover-Screen" />
        <dialog
            android:id="@+id/objectCoverUnsplashScreen"
            android:name="com.anytypeio.anytype.ui.editor.cover.ObjectSetUnsplashFragment"
            android:label="Object-Cover-Unsplash-Screen" />
        <dialog
            android:id="@+id/setNameForNewRecordScreen"
            android:name="com.anytypeio.anytype.ui.sets.modals.SetObjectSetRecordNameFragment" />
        <dialog
            android:id="@+id/setUrlForNewBookmark"
            android:name="com.anytypeio.anytype.ui.sets.modals.SetObjectCreateBookmarkRecordFragment" />
        <dialog
            android:id="@+id/objectValueScreen"
            android:name="com.anytypeio.anytype.ui.relations.value.ObjectValueFragment"
            android:label="Relation-Object-Value-Screen" />
        <dialog
            android:id="@+id/versionHistoryScreen"
            android:name="com.anytypeio.anytype.ui.history.VersionHistoryFragment"
            android:label="Set-Version_history-Screen"/>
        <action
            android:id="@+id/actionOpenSpaceSwitcher"
            app:destination="@id/selectSpaceScreen"/>
        <action
            android:id="@+id/actionExitToSpaceWidgets"
            app:popUpTo="@+id/homeScreen"
            app:popUpToInclusive="false" />
    </navigation>

    <fragment
        android:id="@+id/chatScreen"
        android:name="com.anytypeio.anytype.ui.chats.ChatFragment"
        android:label="Chat" >
        <action
            android:id="@+id/actionOpenWidgetsFromChat"
            app:destination="@id/homeScreen" />
    </fragment>

    <dialog
        android:id="@+id/selectChatReactionScreen"
        android:name="com.anytypeio.anytype.ui.chats.SelectChatReactionFragment"
        android:label="Select chat reaction" />

    <dialog
        android:id="@+id/chatReactionScreen"
        android:name="com.anytypeio.anytype.ui.chats.ChatReactionFragment"
        android:label="Chat reaction" />

    <dialog
        android:id="@+id/participantScreen"
        android:name="com.anytypeio.anytype.ui.profile.ParticipantFragment"
        android:label="Profile screen" />

    <fragment
        android:id="@+id/homeScreen"
        android:name="com.anytypeio.anytype.ui.home.HomeScreenFragment"
        android:label="Home screen"
        tools:layout="@layout/fragment_home">
        <action
            android:id="@+id/action_open_space_settings"
            app:destination="@id/spaceSettingsScreen" />
        <action
            android:id="@+id/action_open_spaces"
            app:destination="@id/selectSpaceScreen" />
        <action
            android:id="@+id/action_open_vault"
            app:destination="@id/vaultScreen"
            app:popUpTo="@id/vaultScreen"
            app:popUpToInclusive="true"
            />
        <action
            android:id="@+id/action_open_all_content"
            app:destination="@id/allContentScreen" />
        <action
            android:id="@+id/actionOpenSpaceSwitcher"
            app:destination="@id/selectSpaceScreen"/>
    </fragment>

    <fragment
        android:id="@+id/homeScreenWidgets"
        android:name="com.anytypeio.anytype.ui.widgets.collection.CollectionFragment"
        android:label="Home screen">
        <action
            android:id="@+id/actionOpenVault"
            app:destination="@id/vaultScreen"
            app:popUpTo="@id/vaultScreen"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/actionOpenSpaceSwitcher"
            app:destination="@id/selectSpaceScreen" />
        <action
            android:id="@+id/actionExitToSpaceWidgets"
            app:popUpTo="@+id/homeScreen"
            app:popUpToInclusive="false" />
    </fragment>

    <fragment
        android:id="@+id/dateObjectScreen"
        android:name="com.anytypeio.anytype.ui.date.DateObjectFragment"
        android:label="Date Object"> {
        <action
            android:id="@+id/actionExitToSpaceWidgets"
            app:popUpTo="@+id/homeScreen"
            app:popUpToInclusive="false" />
    </fragment>

    <dialog
        android:id="@+id/selectWidgetSourceScreen"
        android:name="com.anytypeio.anytype.ui.widgets.SelectWidgetSourceFragment" />

    <dialog
        android:id="@+id/alertImportExperienceUnsupported"
        android:name="com.anytypeio.anytype.ui.alert.AlertImportExperienceUnsupported" />

    <dialog
        android:id="@+id/remoteStorageFragment"
        android:name="com.anytypeio.anytype.ui.settings.RemoteFilesManageFragment"/>

    <dialog
        android:id="@+id/selectWidgetTypeScreen"
        android:name="com.anytypeio.anytype.ui.widgets.SelectWidgetTypeFragment"/>

    <dialog
        android:id="@+id/selectSpaceScreen"
        android:name="com.anytypeio.anytype.ui.spaces.SelectSpaceFragment">
        <action
            android:id="@+id/switchSpaceAction"
            app:popUpTo="@+id/homeScreen"
            app:popUpToInclusive="false"
            app:enterAnim="@anim/anim_switch_space_enter" />
    </dialog>

    <fragment
        android:id="@+id/vaultScreen"
        android:name="com.anytypeio.anytype.ui.vault.VaultFragment">
        <action
            android:id="@+id/actionOpenSpaceFromVault"
            app:destination="@id/homeScreen" />
        <action
            android:id="@+id/actionOpenChatFromVault"
            app:destination="@id/chatScreen" />
        <action
            android:id="@+id/actionCreateSpaceFromVault"
            app:destination="@id/createSpaceScreen" />
    </fragment>

    <dialog
        android:id="@+id/createSpaceScreen"
        android:name="com.anytypeio.anytype.ui.spaces.CreateSpaceFragment">
        <action
            android:id="@+id/exitToVaultAction"
            app:popUpTo="@+id/vaultScreen"
            app:popUpToInclusive="false" />
    </dialog>

    <dialog
        android:id="@+id/introduceVaultScreen"
        android:name="com.anytypeio.anytype.ui.vault.IntroduceVaultFragment"
        android:label="IntroduceVaultScreen"/>

    <dialog
        android:id="@+id/spaceSettingsScreen"
        android:name="com.anytypeio.anytype.ui.settings.space.SpaceSettingsFragment"
        android:label="SpaceSettingsScreen"/>

    <dialog
        android:id="@+id/spaceListScreen"
        android:name="com.anytypeio.anytype.ui.spaces.SpaceListFragment"
        android:label="SpaceListScreen">
        <action
            android:id="@+id/actionCreateSpaceFromVault"
            app:destination="@id/createSpaceScreen" />
    </dialog>

    <dialog
        android:id="@+id/objectSetIconPickerScreenForSpace"
        android:name="com.anytypeio.anytype.ui.sets.ObjectSetIconPickerFragment"
        android:label="Object-Set-Icon-Picker-Screen" />

    <dialog
        android:id="@+id/profileSettingsScreen"
        android:name="com.anytypeio.anytype.ui.settings.ProfileSettingsFragment">
    </dialog>

    <dialog
        android:id="@+id/filesStorageScreen"
        android:name="com.anytypeio.anytype.ui.settings.FilesStorageFragment"
        android:label="Files-Storage-Screen">
    </dialog>

    <dialog
        android:id="@+id/spacesStorageScreen"
        android:name="com.anytypeio.anytype.ui.settings.SpacesStorageFragment"
        android:label="Spaces-Storage-Screen">
    </dialog>

    <dialog
        android:id="@+id/aboutAppScreen"
        android:name="com.anytypeio.anytype.ui.settings.AboutAppFragment" />

    <dialog
        android:id="@+id/logoutWarningScreen"
        android:name="com.anytypeio.anytype.ui.settings.LogoutWarningFragment"/>

    <dialog
        android:id="@+id/deleteAccountWarningScreen"
        android:name="com.anytypeio.anytype.ui.auth.account.DeleteAccountWarning"/>

    <dialog
        android:id="@+id/paymentsScreen"
        android:name="com.anytypeio.anytype.ui.payments.MembershipFragment" />

    <dialog
        android:id="@+id/membershipUpdateScreen"
        android:name="com.anytypeio.anytype.ui.payments.MembershipUpgradeFragment" />

    <dialog
        android:id="@+id/galleryInstallationScreen"
        android:name="com.anytypeio.anytype.ui.gallery.GalleryInstallationFragment" />

    <fragment
        android:id="@+id/splashScreen"
        android:name="com.anytypeio.anytype.ui.splash.SplashFragment"
        android:label="SplashFragment"
        tools:layout="@layout/fragment_splash">
        <action
            android:id="@+id/action_splashScreen_to_homeScreen"
            app:destination="@id/homeScreen"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim"
            app:popUpTo="@+id/splashScreen"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/actionOpenVaultFromSplash"
            app:destination="@id/vaultScreen"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim"
            app:popUpTo="@+id/splashScreen"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/action_splashScreen_to_widgets"
            app:destination="@id/homeScreen"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim"
            app:popUpTo="@+id/splashScreen"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/action_splashScreen_to_objectScreen"
            app:destination="@id/objectNavigation"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim"
            app:popUpTo="@+id/main_navigation"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/action_splashScreen_to_objectSetScreen"
            app:destination="@id/dataViewNavigation"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim"
            app:popUpTo="@+id/main_navigation"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/action_splashFragment_to_authStart"
            app:destination="@id/onboarding_nav"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim"
            app:popUpTo="@+id/splashScreen"
            app:popUpToInclusive="true" />
    </fragment>

    <dialog
        android:id="@+id/keychainDialog"
        android:name="com.anytypeio.anytype.ui.profile.KeychainPhraseDialog"
        tools:layout="@layout/dialog_keychain_phrase" />

    <dialog
        android:id="@+id/dashboardKeychainDialog"
        android:name="com.anytypeio.anytype.ui.dashboard.DashboardMnemonicReminderDialog"
        tools:layout="@layout/dialog_dashboard_keychain_phrase" />

    <dialog
        android:id="@+id/mnemonicReminderDialog"
        android:name="com.anytypeio.anytype.ui.dashboard.MnemonicReminderDialog"
        tools:layout="@layout/alert_mnemonic_reminder" />

    <navigation
        android:id="@+id/onboarding_nav"
        app:startDestination="@id/authStartScreen">

        <fragment
            android:id="@+id/authStartScreen"
            android:name="com.anytypeio.anytype.ui.onboarding.OnboardingFragment" />
        <action
            android:id="@+id/action_openHome"
            app:destination="@id/homeScreen"
            app:enterAnim="@anim/fade_in"
            app:popUpTo="@id/authStartScreen"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/actionOpenVault"
            app:destination="@id/vaultScreen"
            app:enterAnim="@anim/fade_in"
            app:popUpTo="@id/authStartScreen"
            app:popUpToInclusive="true" />
    </navigation>

    <fragment
        android:id="@+id/debugSettingsFragment"
        android:name="com.anytypeio.anytype.ui.settings.DebugSettingsFragment"
        android:label="DebugSettingsFragment"
        tools:layout="@layout/fragment_debug_settings" />
    <dialog
        android:id="@+id/globalSearchScreen"
        android:name="com.anytypeio.anytype.ui.search.GlobalSearchFragment"
        android:label="GlobalSearchScreen" />

    <fragment
        android:id="@+id/allContentScreen"
        android:name="com.anytypeio.anytype.ui.allcontent.AllContentFragment"
        android:label="AllContentScreen">
        <action
            android:id="@+id/openTypeEditingScreen"
            app:destination="@id/typeEditingFragment" />
        <action
            android:id="@+id/openTypeCreationScreen"
            app:destination="@id/typeCreationFragment" />
        <action
            android:id="@+id/openRelationCreationScreen"
            app:destination="@id/relationCreationFragment" />
        <action
            android:id="@+id/openRelationEditingScreen"
            app:destination="@id/relationEditingFragment" />
        <action
            android:id="@+id/actionOpenVault"
            app:destination="@id/vaultScreen"
            app:popUpTo="@id/vaultScreen"
            app:popUpToInclusive="true" />
        <action
            android:id="@+id/actionOpenGlobalSearch"
            app:destination="@id/globalSearchScreen" />
        <action
            android:id="@+id/actionOpenTypeCreationScreen"
            app:destination="@id/typeCreationFragment" />

        <action
            android:id="@+id/actionOpenSpaceSwitcher"
            app:destination="@id/selectSpaceScreen"/>
    </fragment>

    <dialog
        android:id="@+id/typeCreationFragment"
        android:name="com.anytypeio.anytype.ui.types.create.CreateObjectTypeFragment"
        android:label="TypeCreationFragment">
        <action
            android:id="@+id/openEmojiPicker"
            app:destination="@id/typeSetIconPickerScreen" />
        <argument
            android:name="arg.type_name"
            android:defaultValue=""
            app:argType="string" />
    </dialog>

    <dialog
        android:id="@+id/relationCreationFragment"
        android:name="com.anytypeio.anytype.ui.relations.RelationCreateFromLibraryFragment"
        android:label="RelationCreationFragment"/>

    <dialog
        android:id="@+id/typeEditingFragment"
        android:name="com.anytypeio.anytype.ui.types.edit.TypeEditFragment"
        android:label="TypeEditFragment">
        <action
            android:id="@+id/openEmojiPicker"
            app:destination="@id/typeSetIconPickerScreen" />
        <argument
            android:name="arg.arg.type_edit_name"
            android:defaultValue=""
            app:argType="string" />
        <argument
            android:name="arg.arg.type_edit_id"
            android:defaultValue=""
            app:argType="string" />
        <argument
            android:name="arg.arg.type_edit_unicode"
            android:defaultValue=""
            app:argType="string" />
        <argument
            android:name="arg.arg.type_edit_readonly"
            android:defaultValue="false"
            app:argType="boolean" />
    </dialog>

    <dialog
        android:id="@+id/relationEditingFragment"
        android:name="com.anytypeio.anytype.ui.relations.RelationEditFragment"
        android:label="TypeEditFragment">
        <action
            android:id="@+id/openEmojiPicker"
            app:destination="@id/typeSetIconPickerScreen" />
        <argument
            android:name="arg.arg.relation_edit_name"
            android:defaultValue=""
            app:argType="string" />
        <argument
            android:name="arg.arg.relation_edit_id"
            android:defaultValue=""
            app:argType="string" />
        <argument
            android:name="arg.arg.relation_edit_unicode"
            android:defaultValue="0"
            app:argType="integer" />
        <argument
            android:name="arg.arg.relation_edit_readonly"
            android:defaultValue="false"
            app:argType="boolean" />
    </dialog>

    <dialog
        android:id="@+id/typeSetIconPickerScreen"
        android:name="com.anytypeio.anytype.ui.types.picker.TypeIconPickFragment"
        android:label="Object-Icon-Picker-Screen">
        <argument
            android:name="arg.type_show_remove"
            android:defaultValue="true"
            app:argType="boolean" />
    </dialog>

    <fragment
        android:id="@+id/fullScreenImageFragment"
        android:name="com.anytypeio.anytype.ui.editor.gallery.FullScreenPictureFragment"
        android:label="FullScreenImageFragment" />
    <dialog
        android:id="@+id/personalizationScreen"
        android:name="com.anytypeio.anytype.ui.settings.PersonalizationSettingsFragment"
        android:label="fragment_user_settings"
        tools:layout="@layout/fragment_user_settings" />
    <dialog
        android:id="@+id/wallpaperSetScreen"
        android:name="com.anytypeio.anytype.ui.dashboard.WallpaperSelectFragment"
        android:label="fragment_wallpaper_set"
        tools:layout="@layout/fragment_wallpaper_select" />
    <dialog
        android:id="@+id/appearanceScreen"
        android:name="com.anytypeio.anytype.ui.settings.AppearanceFragment"
        android:label="fragment_wallpaper_set"
        tools:layout="@layout/fragment_wallpaper_select" />
    <dialog
        android:id="@+id/alertUpdateAppFragment"
        android:name="com.anytypeio.anytype.ui.alert.AlertUpdateAppFragment"
        android:label="AlertUpdateAppFragment" />
    <fragment
        android:id="@+id/createObjectFragment"
        android:name="com.anytypeio.anytype.ui.editor.CreateObjectFragment"
        android:label="CreateObjectFragment" />
    <action
        android:id="@+id/action_global_createObjectFragment"
        app:destination="@id/createObjectFragment"
        app:launchSingleTop="true" />

    <dialog
        android:id="@+id/relationFormatPickerScreen"
        android:name="com.anytypeio.anytype.ui.relations.RelationCreateFromScratchFormatPickerFragment"
        android:label="Pick relation screen" />

    <dialog
        android:id="@+id/limitObjectTypeScreen"
        android:name="com.anytypeio.anytype.ui.relations.LimitObjectTypeFragment"
        android:label="Limit object type screen" />

    <navigation
        android:id="@+id/deletedAccountNavigation"
        app:startDestination="@id/deletedAccountScreen">

        <fragment
            android:id="@+id/deletedAccountScreen"
            android:name="com.anytypeio.anytype.ui.auth.account.DeletedAccountFragment"
            android:label="DeletedAccountScreen" />

    </navigation>

    <action
        android:id="@+id/actionLogout"
        app:destination="@+id/main_navigation"
        app:popUpTo="@+id/main_navigation"
        app:popUpToInclusive="true" />

    <fragment
        android:id="@+id/templateSelectScreen"
        android:name="com.anytypeio.anytype.ui.templates.TemplateSelectFragment"
        android:label="TemplateSelectScreen"
        tools:layout="@layout/fragment_template_select" />

    <fragment
        android:id="@+id/migrationNeededScreen"
        android:name="com.anytypeio.anytype.ui.update.MigrationErrorFragment"
        android:label="Migration-needed screen">
    </fragment>

    <dialog
        android:id="@+id/shareSpaceScreen"
        android:name="com.anytypeio.anytype.ui.multiplayer.ShareSpaceFragment"/>

    <dialog
        android:id="@+id/spaceJoinRequestScreen"
        android:name="com.anytypeio.anytype.ui.multiplayer.SpaceJoinRequestFragment"/>

    <dialog
        android:id="@+id/requestJoinSpaceScreen"
        android:name="com.anytypeio.anytype.ui.multiplayer.RequestJoinSpaceFragment">
        <action
            android:id="@+id/actionOpenSpaceFromVault"
            app:destination="@id/homeScreen" />
    </dialog>

    <dialog
        android:id="@+id/howToShareSpaceScreen"
        android:name="com.anytypeio.anytype.ui.multiplayer.HowToShareSpaceFragment"/>

    <dialog
        android:id="@+id/shareSpaceInviteQrCodeScreen"
        android:name="com.anytypeio.anytype.ui.multiplayer.ShareQrCodeSpaceInviteFragment"/>

    <dialog
        android:id="@+id/requestNotificationPermissionDialog"
        android:name="com.anytypeio.anytype.ui.notifications.NotificationPermissionPromptDialog"/>

    <dialog
        android:id="@+id/multiplayerFeatureDialog"
        android:name="com.anytypeio.anytype.ui.multiplayer.IntroduceSpaceSharingFragment"/>

    <action
        android:id="@+id/actionOpenSpaceFromVault"
        app:destination="@id/homeScreen" />

</navigation>