Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a80c35e0 authored by narinder Rana's avatar narinder Rana
Browse files

remove invite friends option

parent 497e0b2d
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 }
+1 −1
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -265,7 +265,6 @@ class MainViewModel @Inject constructor(
                        NavItem.SETTINGS -> navigator.showSettings()

                        NavItem.HELP -> navigator.showSupport()
                        NavItem.INVITE -> navigator.showInvite()
                        else -> Unit
                    }
                    drawerItem
+0 −14
Original line number Diff line number Diff line
@@ -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>