Fix Android gutterIcon test, use findGuttersAtCaret method

This commit is contained in:
Vyacheslav Gerasimov
2017-06-01 20:07:11 +03:00
parent 643e3587cc
commit 3f03b05bd3
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -3,4 +3,4 @@ package com.myapp
import android.content.Context
<caret>fun Context.getPrimaryColor() = resources.getColor(R.color.colorAccent, null)
fun Context.getPrimaryColor() = resources.getColor(R.color.<caret>colorAccent, null)
+1 -1
View File
@@ -3,4 +3,4 @@ package com.myapp
import android.content.Context
<caret>fun Context.getAddIcon() = resources.getDrawable(R.drawable.test_icon, null)
fun Context.getAddIcon() = resources.getDrawable(R.drawable.<caret>test_icon, null)
+1 -1
View File
@@ -3,4 +3,4 @@ package com.myapp
import android.content.Context
<caret>fun Context.getAddIcon() = resources.getDrawable(R.mipmap.test_icon, null)
fun Context.getAddIcon() = resources.getDrawable(R.mipmap.<caret>test_icon, null)
+1 -1
View File
@@ -1,4 +1,4 @@
// COLOR: 0,0,0
import android.content.Context
<caret>fun getBlackColor() = android.R.color.black
fun getBlackColor() = android.R.color.<caret>black
+1 -1
View File
@@ -1,4 +1,4 @@
// DRAWABLE
import android.content.Context
fun <caret>Context.getAddIcon() = resources.getDrawable(android.R.drawable.ic_menu_add, null)
fun Context.getAddIcon() = resources.getDrawable(android.R.drawable.<caret>ic_menu_add, null)