Signal-Android/app/src/main/res/navigation/boosts.xml

48 lines
2.1 KiB
XML
Raw Normal View History

<?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/boosts"
app:startDestination="@id/boostFragment">
<dialog
android:id="@+id/boostFragment"
android:name="org.thoughtcrime.securesms.components.settings.app.subscription.boost.BoostFragment"
android:label="boost_fragment"
tools:layout="@layout/dsl_settings_fragment">
<action
android:id="@+id/action_boostFragment_to_setDonationCurrencyFragment"
app:destination="@id/setDonationCurrencyFragment"
app:enterAnim="@anim/fragment_open_enter"
app:exitAnim="@anim/fragment_open_exit"
app:popEnterAnim="@anim/fragment_close_enter"
app:popExitAnim="@anim/fragment_close_exit" />
<action
android:id="@+id/action_boostFragment_to_boostThanksForYourSupportBottomSheetDialog"
app:destination="@id/boostThanksForYourSupportBottomSheetDialog" />
</dialog>
<dialog
android:id="@+id/setDonationCurrencyFragment"
android:name="org.thoughtcrime.securesms.components.settings.app.subscription.currency.SetCurrencyFragment"
android:label="set_currency_fragment"
tools:layout="@layout/dsl_settings_fragment" />
<dialog
android:id="@+id/boostThanksForYourSupportBottomSheetDialog"
android:name="org.thoughtcrime.securesms.components.settings.app.subscription.thanks.ThanksForYourSupportBottomSheetDialogFragment"
android:label="boost_thanks_for_your_support_bottom_sheet_dialog"
tools:layout="@layout/thanks_for_your_support_bottom_sheet_dialog_fragment">
<argument
android:name="badge"
app:argType="org.thoughtcrime.securesms.badges.models.Badge"
app:nullable="false" />
<argument
android:name="isBoost"
app:argType="boolean"
android:defaultValue="false" />
</dialog>
</navigation>