mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
settings: change dynamic call (#6195)
This commit is contained in:
parent
569e4a518c
commit
854eed70ba
|
@ -294,13 +294,16 @@ CLASS zcl_abapgit_settings IMPLEMENTATION.
|
|||
|
||||
|
||||
METHOD get_ui_theme.
|
||||
DATA: lv_frontend_theme TYPE string.
|
||||
DATA lv_frontend_theme TYPE string.
|
||||
DATA lv_cl_gui TYPE string.
|
||||
|
||||
lv_cl_gui = 'CL_GUI_RESOURCES'.
|
||||
|
||||
rv_ui_theme = ms_user_settings-ui_theme.
|
||||
|
||||
IF rv_ui_theme = c_ui_theme-synced_with_gui AND iv_resolve_synced = abap_true.
|
||||
TRY.
|
||||
CALL METHOD ('CL_GUI_RESOURCES')=>get_themename
|
||||
CALL METHOD (lv_cl_gui)=>get_themename
|
||||
IMPORTING
|
||||
themename = lv_frontend_theme
|
||||
EXCEPTIONS
|
||||
|
|
Loading…
Reference in New Issue
Block a user