This commit is contained in:
Martin 2024-08-08 16:44:07 +08:00
parent 8ddaf20e4f
commit fc78fd9d1d
5 changed files with 4 additions and 7 deletions

View File

@ -87,7 +87,7 @@ public class LiveTaskModel extends BaseModel {
public String getEndTime() {
if (!StringUtil.isEmpty(endTime)) {
endTime =WordUtil.getString(R.string.live_task_new_user_timer) + new SimpleDateFormat("yyyy/MM/dd HH:mm", Locale.getDefault()).format(new Date(Long.parseLong(endTime) * 1000));
endTime = new SimpleDateFormat("yyyy/MM/dd HH:mm", Locale.getDefault()).format(new Date(Long.parseLong(endTime) * 1000));
}
return endTime;
}

View File

@ -147,7 +147,7 @@ public class LiveTaskDialog extends AbsDialogPopupWindow {
if (task.isNew()) {
newStarImg.setVisibility(VISIBLE);
newStarTime.setVisibility(VISIBLE);
newStarTime.setText(task.getEndTime());
newStarTime.setText(WordUtil.isNewZh()?"新秀主播時效截止至 ":"The statute of limitations for new anchors expires " +task.getEndTime());
}
}

View File

@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="600dp"
android:background="#000002">
<androidx.constraintlayout.widget.ConstraintLayout
@ -24,11 +23,11 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginEnd="14dp"
android:textColor="#FFFFFF"
android:textSize="12sp"
android:visibility="invisible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView

View File

@ -175,7 +175,7 @@ public class MainStartDialogFragment extends AbsDialogFragment implements View.O
String[] permissions;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
permissions = new String[]{
Manifest.permission.READ_MEDIA_IMAGES,
//Manifest.permission.READ_MEDIA_IMAGES, 去掉选择图片的权限到里面选择封面的时候再去申请
Manifest.permission.CAMERA,
Manifest.permission.RECORD_AUDIO
};

View File

@ -23,7 +23,6 @@
android:background="@drawable/view_btn_chat_status_config"
android:bufferType="spannable"
android:button="@null"
android:checked="true"
android:drawableTop="@drawable/view_btn_chat_status_config_online_color"
android:ellipsize="marquee"
android:gravity="center"
@ -39,7 +38,6 @@
android:layout_height="100dp"
android:background="@drawable/view_btn_chat_status_config"
android:button="@null"
android:checked="false"
android:drawableTop="@drawable/view_btn_chat_status_config_off_color"
android:gravity="center"
android:paddingTop="30dp"