mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
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
|
||||
drawer.clicks().subscribe()
|
||||
|
||||
scheduled.isEnabled = false
|
||||
blocked.isEnabled = false
|
||||
|
||||
disposables += colors.background
|
||||
.doOnNext { color -> window.decorView.setBackgroundColor(color) }
|
||||
.doOnNext { color -> drawer.setBackgroundColor(color) }
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/scheduled"
|
||||
style="@style/DrawerRow">
|
||||
style="@style/DrawerRow"
|
||||
android:alpha="0.5">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/scheduledIcon"
|
||||
@@ -53,7 +54,8 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/blocked"
|
||||
style="@style/DrawerRow">
|
||||
style="@style/DrawerRow"
|
||||
android:alpha="0.5">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/blockedIcon"
|
||||
|
||||
Reference in New Issue
Block a user