Skip to content

Commit 3e1f92d

Browse files
committed
two d bug fixed. build apk error fixed.
1 parent 54b5c1b commit 3e1f92d

File tree

10 files changed

+15
-29
lines changed

10 files changed

+15
-29
lines changed

2d/src/main/java/com/kyawhut/atsycast/twod/ui/components/TwoDView.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ class TwoDView @JvmOverloads constructor(
2828
}
2929

3030
private val isTwelveHour: Boolean
31-
get() = getCurrentHours() <= 12
31+
get() = getCurrentHours() >= 12
3232

3333
private val isFourHour: Boolean
34-
get() = getCurrentHours() >= 12
34+
get() = getCurrentHours() >= 16
3535

3636
private val vb: View2dBinding by lazy {
3737
View2dBinding.inflate(LayoutInflater.from(context), this, true)
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
<shape xmlns:android="http://schemas.android.com/apk/res/android"
33
android:shape="oval">
4-
<solid android:color="@color/colorPrimary" />
4+
<solid android:color="#b31c22" />
55
</shape>

free2air/src/main/res/drawable/ic_f2a_card_play.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
android:viewportHeight="24">
66
<path
77
android:fillAlpha="0.3"
8-
android:fillColor="@color/colorPrimary"
8+
android:fillColor="#b31c22"
99
android:pathData="M12,20c4.41,0 8,-3.59 8,-8s-3.59,-8 -8,-8 -8,3.59 -8,8 3.59,8 8,8zM10,7.5l6,4.5 -6,4.5v-9z"
1010
android:strokeAlpha="0.3" />
1111
<path
12-
android:fillColor="@color/colorPrimary"
12+
android:fillColor="#b31c22"
1313
android:pathData="M12,22c5.52,0 10,-4.48 10,-10S17.52,2 12,2 2,6.48 2,12s4.48,10 10,10zM12,4c4.41,0 8,3.59 8,8s-3.59,8 -8,8 -8,-3.59 -8,-8 3.59,-8 8,-8zM10,7.5v9l6,-4.5z" />
1414
</vector>

free2air/src/main/res/layout/activity_f2a_home.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
style="@style/TvDefaultText"
8484
android:paddingHorizontal="@dimen/margin_medium"
8585
android:text="@string/lblLive"
86-
android:textColor="@color/colorPrimary"
86+
android:textColor="#b31c22"
8787
android:textSize="@dimen/text_regular"
8888
android:textStyle="bold"
8989
app:layout_constraintBottom_toBottomOf="parent"

share/src/main/res/drawable/atsy_detail_bg_left_shape.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<path
99
android:fillAlpha="0.75"
10-
android:fillColor="@color/colorPrimaryDark"
10+
android:fillColor="#7A1317"
1111
android:pathData="M 0,10 L 80,100 0,100 z" />
1212

1313
</vector>

share/src/main/res/drawable/bg_search.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

share/src/main/res/layout/atsy_player.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
android:id="@+id/view_buffered_percent"
146146
android:layout_width="0dp"
147147
android:layout_height="0dp"
148-
android:background="@color/colorPrimaryDark"
148+
android:background="#b31c22"
149149
app:layout_constraintBottom_toBottomOf="parent"
150150
app:layout_constraintStart_toStartOf="parent"
151151
app:layout_constraintTop_toTopOf="parent"
@@ -155,7 +155,7 @@
155155
android:id="@+id/view_progress_percent"
156156
android:layout_width="0dp"
157157
android:layout_height="0dp"
158-
android:background="@color/colorPrimary"
158+
android:background="#b31c22"
159159
app:layout_constraintBottom_toBottomOf="parent"
160160
app:layout_constraintStart_toStartOf="parent"
161161
app:layout_constraintTop_toTopOf="parent"

share/src/main/res/layout/atsy_player_controller.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@
113113
android:layout_height="wrap_content"
114114
android:focusable="true"
115115
android:focusableInTouchMode="true"
116-
app:buffered_color="@color/colorPrimaryDark"
116+
app:buffered_color="#7A1317"
117117
app:layout_constraintBottom_toBottomOf="parent"
118118
app:layout_constraintEnd_toEndOf="parent"
119119
app:layout_constraintStart_toStartOf="parent"
120120
app:layout_constraintTop_toTopOf="parent"
121-
app:played_color="@color/colorPrimary"
122-
app:scrubber_color="@color/colorPrimary"
121+
app:played_color="#b31c22"
122+
app:scrubber_color="#b31c22"
123123
app:unplayed_color="#C3C3C3" />
124124

125125
</androidx.constraintlayout.widget.ConstraintLayout>

share/src/main/res/layout/card_recently_watch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
app:layout_constraintEnd_toEndOf="parent"
4242
app:layout_constraintStart_toStartOf="parent"
4343
app:layout_constraintTop_toTopOf="parent"
44-
tools:src="@drawable/thumbnail_horizontal" />
44+
tools:src="@drawable/ic_thumbnail" />
4545

4646
<com.kyawhut.atsycast.share.components.RoundedConstraintLayout
4747
android:id="@+id/view_progress"
@@ -59,7 +59,7 @@
5959
android:id="@+id/view_progress_percent"
6060
android:layout_width="0dp"
6161
android:layout_height="0dp"
62-
android:background="@color/colorPrimary"
62+
android:background="#b31c22"
6363
app:layout_constraintBottom_toBottomOf="parent"
6464
app:layout_constraintStart_toStartOf="parent"
6565
app:layout_constraintTop_toTopOf="parent"

share/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</style>
2020

2121
<style name="ProgressTheme">
22-
<item name="colorAccent">@color/colorPrimary</item>
22+
<item name="colorAccent">#b31c22</item>
2323
</style>
2424

2525
<style name="FullScreenDialogTransparent" parent="BaseTvTheme">

0 commit comments

Comments
 (0)