Commit 22f40cd1 authored by narinder Rana's avatar narinder Rana
Browse files

Merge branch '145-remove-Invite-friends' into 'main'

remove invite friends option

See merge request !52
parents 842c2069 a80c35e0
Pipeline #174695 passed with stage
in 11 minutes and 56 seconds
......@@ -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<Int> = PublishSubject.create()
override val conversationsSelectedIntent by lazy { conversationsAdapter.selectionChanges }
......
......@@ -52,4 +52,4 @@ interface MainView : QkView<MainState> {
}
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
......@@ -265,7 +265,6 @@ class MainViewModel @Inject constructor(
NavItem.SETTINGS -> navigator.showSettings()
NavItem.HELP -> navigator.showSupport()
NavItem.INVITE -> navigator.showInvite()
else -> Unit
}
drawerItem
......
......@@ -182,20 +182,6 @@
</LinearLayout>
<LinearLayout
android:id="@+id/invite"
style="@style/DrawerRow">
<ImageView
style="@style/DrawerIcon"
android:src="@lineageos.platform:drawable/ic_people"
android:tint="?android:attr/textColorSecondary" />
<com.moez.QKSMS.common.widget.QkTextView
style="@style/DrawerText"
android:text="@string/drawer_invite" />
</LinearLayout>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment