diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/main/MainActivity.kt b/presentation/src/main/java/com/moez/QKSMS/feature/main/MainActivity.kt index 1ea041bae2173d881bfc73df29b4dd851f94b01e..11f94660b1e116af1d23d2d82e46b2d9ba6205b1 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/main/MainActivity.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/main/MainActivity.kt @@ -105,9 +105,8 @@ class MainActivity : QkThemedActivity(), MainView { scheduled.clicks().map { NavItem.SCHEDULED }, blocking.clicks().map { NavItem.BLOCKING }, settings.clicks().map { NavItem.SETTINGS }, - help.clicks().map { NavItem.HELP }, - invite.clicks().map { NavItem.INVITE })) + )) } override val optionsItemIntent: Subject = PublishSubject.create() override val conversationsSelectedIntent by lazy { conversationsAdapter.selectionChanges } diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/main/MainView.kt b/presentation/src/main/java/com/moez/QKSMS/feature/main/MainView.kt index 30fc0fbeda49d7247c19cd1b89a3620f8a82cd88..ada78d80f032fd75b6a03e8e1e58be550480408b 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/main/MainView.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/main/MainView.kt @@ -52,4 +52,4 @@ interface MainView : QkView { } -enum class NavItem { BACK, INBOX, ARCHIVED, BACKUP, SCHEDULED, BLOCKING, SETTINGS, HELP, INVITE } \ No newline at end of file +enum class NavItem { BACK, INBOX, ARCHIVED, BACKUP, SCHEDULED, BLOCKING, SETTINGS, HELP } \ No newline at end of file diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/main/MainViewModel.kt b/presentation/src/main/java/com/moez/QKSMS/feature/main/MainViewModel.kt index e1db897adf12900128bd28e8f6a081a5af83ce89..fe690def636baab347413dd9d9fcae49644a4491 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/main/MainViewModel.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/main/MainViewModel.kt @@ -265,7 +265,6 @@ class MainViewModel @Inject constructor( NavItem.SETTINGS -> navigator.showSettings() NavItem.HELP -> navigator.showSupport() - NavItem.INVITE -> navigator.showInvite() else -> Unit } drawerItem diff --git a/presentation/src/main/res/layout/drawer_view.xml b/presentation/src/main/res/layout/drawer_view.xml index 6d90c7e43dec68e8d68bf606275e14dbd7d34a18..d5c7adce05a41c8bc2376782b1204922a82b436f 100644 --- a/presentation/src/main/res/layout/drawer_view.xml +++ b/presentation/src/main/res/layout/drawer_view.xml @@ -182,20 +182,6 @@ - - - - - - -