修复动态文本显示

This commit is contained in:
al 2025-02-11 16:09:48 +08:00
parent 811705bad1
commit fcddeb46fc
2 changed files with 4 additions and 2 deletions

View File

@ -64,7 +64,7 @@ export default function MediaPicker({
allowsMultipleSelection: true, allowsMultipleSelection: true,
selectionLimit: maxCount - _assets.length, selectionLimit: maxCount - _assets.length,
quality: 1, quality: 1,
exif: true, // exif: true,
}); });
if (!result.canceled) { if (!result.canceled) {

View File

@ -98,7 +98,9 @@ export default function EditSpacePost({ navigation, route }) {
media_component, media_component,
} = _data.data.list[0]; } = _data.data.list[0];
setContent( setContent(
paid_text ? text.slice(0, text.length - paid_text.length) : text is_creating_paid_text
? text.slice(0, text.length - paid_text.length)
: text
); );
setPrice((price ? price / 100 : 0).toString()); setPrice((price ? price / 100 : 0).toString());
setTextVisibleRange(text_visible_range.toString()); setTextVisibleRange(text_visible_range.toString());