Skip to content

Commit afb2716

Browse files
committed
Fix formatting
1 parent 3ec7dec commit afb2716

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

app/src/main/java/org/buffer/android/components/RoundedButton.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import android.support.v7.widget.AppCompatButton
88
import android.util.AttributeSet
99
import android.view.Gravity.CENTER_HORIZONTAL
1010

11-
class RoundedButton @JvmOverloads constructor(context: Context,
12-
attrs: AttributeSet? = null,
13-
defStyleAttr: Int = 0)
14-
: AppCompatButton(context, attrs, defStyleAttr) {
11+
class RoundedButton @JvmOverloads constructor(
12+
context: Context,
13+
attrs: AttributeSet? = null,
14+
defStyleAttr: Int = 0
15+
) : AppCompatButton(context, attrs, defStyleAttr) {
1516

1617
init {
1718
setBackground(attrs)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<selector xmlns:android="http://schemas.android.com/apk/res/android">
33
<item android:state_enabled="false" android:color="@color/disabled_text" />
4-
<item android:color="#636363"/>
4+
<item android:color="@color/grey_text"/>
55
</selector>

app/src/main/res/values/colors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
<color name="black">#000000</color>
2626
<color name="light_grey">#ECECEC</color>
27+
<color name="grey_text">#636363</color>
2728

2829
<color name="title_text">#000000</color>
2930
<color name="content_text">#6B6B6B</color>

0 commit comments

Comments
 (0)