Skip to content

Commit 2f2a340

Browse files
committed
Fixes and UI consistency updates
1 parent 150dc6c commit 2f2a340

26 files changed

+52
-74
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616
applicationId 'com.aryan.lbrybrowser'
1717
minSdkVersion 21
1818
targetSdkVersion 29
19-
versionCode 1706
20-
versionName '0.17.6'
19+
versionCode 1707
20+
versionName '0.17.7'
2121
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2222
}
2323

app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private int getColorForRule(String rule) {
175175
return ContextCompat.getColor(context, R.color.nextAryanPurple);
176176
}
177177

178-
return ContextCompat.getColor(context, R.color.AryanPurple);
178+
return ContextCompat.getColor(context, R.color.button);
179179
}
180180

181181
@Override

app/src/main/res/layout/card_wallet_balance.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,8 @@
137137
android:layout_marginStart="12dp"
138138
android:layout_marginTop="8dp"
139139
android:layout_marginEnd="12dp"
140-
android:backgroundTint="@color/button"
141140
android:fontFamily="@font/opensans"
142141
android:text="@string/buy_lbc"
143-
android:textColor="@color/text"
144142
android:textSize="16sp"
145143
lbry:iconTint="@color/button" />
146144

app/src/main/res/layout/card_wallet_receive_credits.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@
7676
android:layout_marginTop="8dp"
7777
android:fontFamily="@font/opensans"
7878
android:text="@string/get_new_address"
79-
android:textColor="@color/text"
80-
android:textSize="14sp"
81-
app:backgroundTint="@color/button" />
79+
android:textSize="14sp" />
8280

8381
<TextView
8482
android:layout_width="match_parent"

app/src/main/res/layout/card_wallet_send_credits.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,8 @@
136136
android:layout_height="wrap_content"
137137
android:layout_alignParentEnd="true"
138138
android:layout_centerVertical="true"
139-
android:backgroundTint="@color/button"
140139
android:fontFamily="@font/opensans"
141-
android:text="@string/send"
142-
android:textColor="@color/text" />
140+
android:text="@string/send" />
143141
</RelativeLayout>
144142
</LinearLayout>
145143
</androidx.cardview.widget.CardView>

app/src/main/res/layout/container_comment_form.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,8 @@
193193
android:layout_width="wrap_content"
194194
android:layout_height="wrap_content"
195195
android:layout_centerVertical="true"
196-
android:backgroundTint="@color/button"
197196
android:fontFamily="@font/opensans"
198-
android:text="@string/comment_form_post"
199-
android:textColor="@color/text" />
197+
android:text="@string/comment_form_post" />
200198

201199
<ProgressBar
202200
android:id="@+id/comment_form_post_progress"

app/src/main/res/layout/container_inline_channel_form.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@
118118
android:layout_height="wrap_content"
119119
android:layout_alignParentEnd="true"
120120
android:layout_centerVertical="true"
121-
android:backgroundTint="@color/button"
122121
android:fontFamily="@font/opensans"
123-
android:text="@string/create"
124-
android:textColor="@color/text" />
122+
android:text="@string/create" />
125123
</RelativeLayout>
126124
</LinearLayout>

app/src/main/res/layout/container_nothing_at_location.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@
2727
android:fontFamily="@font/opensans"
2828
android:textSize="16sp"
2929
android:textAlignment="center" />
30+
3031
<com.google.android.material.button.MaterialButton
3132
android:id="@+id/nothing_at_location_publish_button"
3233
android:layout_width="wrap_content"
3334
android:layout_height="wrap_content"
3435
android:layout_gravity="center_horizontal"
3536
android:layout_marginTop="24dp"
3637
android:fontFamily="@font/opensans"
37-
android:textSize="14sp"
3838
android:text="@string/publish_something_here"
3939
android:textFontWeight="300"
40+
android:textSize="14sp"
4041
android:visibility="gone" />
4142
</LinearLayout>
4243
</RelativeLayout>

app/src/main/res/layout/dialog_create_support.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,7 @@
161161
android:layout_height="wrap_content"
162162
android:layout_alignParentEnd="true"
163163
android:layout_centerVertical="true"
164-
android:backgroundTint="@color/button"
165-
android:fontFamily="@font/opensans"
166-
android:textColor="@color/text" />
164+
android:fontFamily="@font/opensans" />
167165
</RelativeLayout>
168166
</LinearLayout>
169167
</androidx.coordinatorlayout.widget.CoordinatorLayout>

app/src/main/res/layout/dialog_customize_tags.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@
101101
android:layout_marginStart="16dp"
102102
android:layout_marginEnd="16dp"
103103
android:layout_marginBottom="16dp"
104-
android:backgroundTint="@color/button"
105104
android:fontFamily="@font/opensans"
106-
android:text="@string/done"
107-
android:textColor="@color/text" />
105+
android:text="@string/done" />
108106
</LinearLayout>
109107
</androidx.coordinatorlayout.widget.CoordinatorLayout>

0 commit comments

Comments
 (0)