mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
fix: Update autoDecimals behavior based on hideFraction preference (#6572)
This commit is contained in:
@@ -393,6 +393,8 @@ const ChildTransactionEdit = forwardRef<
|
||||
const { t } = useTranslation();
|
||||
const { editingField, onRequestActiveEdit, onClearActiveEdit } =
|
||||
useSingleActiveEditForm()!;
|
||||
const [hideFraction, _] = useSyncedPref('hideFraction');
|
||||
|
||||
const prettyPayee = getPrettyPayee({
|
||||
t,
|
||||
transaction,
|
||||
@@ -458,7 +460,7 @@ const ChildTransactionEdit = forwardRef<
|
||||
onClearActiveEdit();
|
||||
}
|
||||
}}
|
||||
autoDecimals
|
||||
autoDecimals={!hideFraction}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user