修復bug

This commit is contained in:
Martin 2024-08-29 16:28:02 +08:00
parent 8cf459b860
commit 849f5aa66d
3 changed files with 6 additions and 8 deletions

View File

@ -95,13 +95,11 @@ public class StringUtil {
int minutes = (int) ((mms % (1000 * 60 * 60)) / (1000 * 60));
int seconds = (int) ((mms % (1000 * 60)) / 1000);
sStringBuilder.delete(0, sStringBuilder.length());
if (hours > 0) {
if (hours < 10) {
sStringBuilder.append("0");
}
sStringBuilder.append(String.valueOf(hours));
sStringBuilder.append(":");
if (hours < 10) {
sStringBuilder.append("0");
}
sStringBuilder.append(String.valueOf(hours));
sStringBuilder.append(":");
if (minutes > 0) {
if (minutes < 10) {
sStringBuilder.append("0");

View File

@ -19,7 +19,7 @@
android:layout_height="wrap_content"
android:paddingStart="20dp"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:layout_weight="1.2"
android:ellipsize="end"
android:gravity="center_vertical"
android:textColor="#92949A"

View File

@ -330,7 +330,7 @@
android:layout_marginStart="4dp"
android:layout_marginEnd="7dp"
android:background="@drawable/bg_live_item"
android:visibility="visible">
android:visibility="gone">
<include layout="@layout/view_noble_seat" />
</LinearLayout>