Skip to content

Commit

Permalink
Disable scheduled and blocked messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Dec 26, 2017
1 parent dc65455 commit 89d7246
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down
6 changes: 4 additions & 2 deletions qksms/src/main/res/layout/drawer_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@

<LinearLayout
android:id="@+id/scheduled"
style="@style/DrawerRow">
style="@style/DrawerRow"
android:alpha="0.5">

<ImageView
android:id="@+id/scheduledIcon"
Expand All @@ -53,7 +54,8 @@

<LinearLayout
android:id="@+id/blocked"
style="@style/DrawerRow">
style="@style/DrawerRow"
android:alpha="0.5">

<ImageView
android:id="@+id/blockedIcon"
Expand Down

0 comments on commit 89d7246

Please sign in to comment.