mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
merge
This commit is contained in:
@@ -14,6 +14,8 @@ import org.briarproject.android.helper.SetupHelper;
|
||||
import org.briarproject.android.helper.SetupHelperImp;
|
||||
import org.briarproject.android.helper.ConfigHelper;
|
||||
import org.briarproject.android.helper.ConfigHelperImp;
|
||||
import org.briarproject.android.keyagreement.ChooseIdentityFragment;
|
||||
import org.briarproject.android.keyagreement.ShowQrCodeFragment;
|
||||
|
||||
import javax.inject.Named;
|
||||
|
||||
@@ -75,4 +77,21 @@ public class ActivityModule {
|
||||
return contactListFragment;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Named("ChooseIdentityFragment")
|
||||
BaseFragment provideChooseIdendityFragment() {
|
||||
ChooseIdentityFragment fragment = new ChooseIdentityFragment();
|
||||
fragment.setArguments(new Bundle());
|
||||
return fragment;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Named("ShowQrCodeFragment")
|
||||
BaseFragment provideShowQrCodeFragment() {
|
||||
ShowQrCodeFragment fragment = new ShowQrCodeFragment();
|
||||
fragment.setArguments(new Bundle());
|
||||
return fragment;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user