forked from upstream-mirrors/quik
Disable scheduled and blocked messaging
This commit is contained in:
@@ -95,6 +95,9 @@ class MainActivity : QkActivity<MainViewModel>(), MainView {
|
|||||||
// Don't allow clicks to pass through the drawer layout
|
// Don't allow clicks to pass through the drawer layout
|
||||||
drawer.clicks().subscribe()
|
drawer.clicks().subscribe()
|
||||||
|
|
||||||
|
scheduled.isEnabled = false
|
||||||
|
blocked.isEnabled = false
|
||||||
|
|
||||||
disposables += colors.background
|
disposables += colors.background
|
||||||
.doOnNext { color -> window.decorView.setBackgroundColor(color) }
|
.doOnNext { color -> window.decorView.setBackgroundColor(color) }
|
||||||
.doOnNext { color -> drawer.setBackgroundColor(color) }
|
.doOnNext { color -> drawer.setBackgroundColor(color) }
|
||||||
|
|||||||
@@ -38,7 +38,8 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/scheduled"
|
android:id="@+id/scheduled"
|
||||||
style="@style/DrawerRow">
|
style="@style/DrawerRow"
|
||||||
|
android:alpha="0.5">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/scheduledIcon"
|
android:id="@+id/scheduledIcon"
|
||||||
@@ -53,7 +54,8 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/blocked"
|
android:id="@+id/blocked"
|
||||||
style="@style/DrawerRow">
|
style="@style/DrawerRow"
|
||||||
|
android:alpha="0.5">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/blockedIcon"
|
android:id="@+id/blockedIcon"
|
||||||
|
|||||||
Reference in New Issue
Block a user