From d13db504bfd666dbd69711303fe601181f0dad83 Mon Sep 17 00:00:00 2001 From: Narinder Rana Date: Thu, 31 Mar 2022 14:02:12 +0530 Subject: [PATCH] remove help and feedback --- .../moez/QKSMS/feature/main/MainActivity.kt | 3 +-- .../com/moez/QKSMS/feature/main/MainView.kt | 2 +- .../moez/QKSMS/feature/main/MainViewModel.kt | 2 -- .../src/main/res/layout/drawer_view.xml | 20 ------------------- 4 files changed, 2 insertions(+), 25 deletions(-) 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 11f94660b..b3531c34d 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 @@ -104,8 +104,7 @@ class MainActivity : QkThemedActivity(), MainView { backup.clicks().map { NavItem.BACKUP }, scheduled.clicks().map { NavItem.SCHEDULED }, blocking.clicks().map { NavItem.BLOCKING }, - settings.clicks().map { NavItem.SETTINGS }, - help.clicks().map { NavItem.HELP }, + settings.clicks().map { NavItem.SETTINGS } )) } override val optionsItemIntent: Subject = PublishSubject.create() 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 ada78d80f..5199fd5ce 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 } \ No newline at end of file +enum class NavItem { BACK, INBOX, ARCHIVED, BACKUP, SCHEDULED, BLOCKING, SETTINGS } \ 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 fe690def6..3ffcae9df 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 @@ -263,8 +263,6 @@ class MainViewModel @Inject constructor( NavItem.SCHEDULED -> navigator.showScheduled() NavItem.BLOCKING -> navigator.showBlockedConversations() NavItem.SETTINGS -> navigator.showSettings() - - NavItem.HELP -> navigator.showSupport() else -> Unit } drawerItem diff --git a/presentation/src/main/res/layout/drawer_view.xml b/presentation/src/main/res/layout/drawer_view.xml index d5c7adce0..a3f12cbb6 100644 --- a/presentation/src/main/res/layout/drawer_view.xml +++ b/presentation/src/main/res/layout/drawer_view.xml @@ -167,26 +167,6 @@ - - - - - - - - - - - - - \ No newline at end of file -- GitLab