Sync UI theme in dark mode (#6940)

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
This commit is contained in:
Marc Bernard 2024-05-29 09:13:45 +02:00 committed by GitHub
parent e2c625f2d9
commit 38e785ddb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -322,7 +322,11 @@ CLASS zcl_abapgit_settings IMPLEMENTATION.
WHEN 'Belize'.
rv_ui_theme = c_ui_theme-belize.
WHEN OTHERS.
rv_ui_theme = c_ui_theme-default.
IF lv_frontend_theme CS 'dark'.
rv_ui_theme = c_ui_theme-dark.
ELSE.
rv_ui_theme = c_ui_theme-default.
ENDIF.
ENDCASE.
ENDIF.
ENDMETHOD.