修复动态文本显示
This commit is contained in:
parent
811705bad1
commit
fcddeb46fc
|
@ -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) {
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue