prepost checkbox

This commit is contained in:
Justin 2023-03-27 17:16:01 +08:00 committed by GitHub
parent ec08fdfe31
commit 43ed9e8108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -906,6 +906,8 @@ def save_trade_settings(input_settings):
current_settings['point'] = input_settings['point']
current_settings['logos'] = input_settings['logos']
current_settings['title'] = input_settings['title']
if input_settings['feature'] == 'Stocks':
current_settings['prepost'] = input_settings['prepost']
if input_settings['feature'] == 'Stocks' or input_settings['feature'] == 'Crypto':
current_settings['chart'] = input_settings['chart']