Skip to content

Commit 706cf01

Browse files
committed
add flags
1 parent 85fc7a6 commit 706cf01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

android/modules/ui/src/java/ti/modules/titanium/ui/TabGroupProxy.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ public void windowCreated(TiBaseActivity activity, Bundle savedInstanceState)
433433
callPropertySync(PROPERTY_POST_TAB_GROUP_CREATED, null);
434434

435435
if (getActivity() != null) {
436-
if (hasPropertyAndNotNull(TiC.PROPERTY_WINDOW_FLAGS)) {
437-
if (TiConvert.toInt(getProperty(TiC.PROPERTY_WINDOW_FLAGS)) == STATUS_BAR_LIGHT
436+
if (hasPropertyAndNotNull(TiC.PROPERTY_FLAGS)) {
437+
if (TiConvert.toInt(getProperty(TiC.PROPERTY_FLAGS)) == STATUS_BAR_LIGHT
438438
&& Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
439439
getActivity().getWindow().getDecorView()
440440
.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);

apidoc/Titanium/UI/TabGroup.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ properties:
526526
default: true
527527
platforms: [iphone, ipad, macos]
528528

529-
- name: windowFlags
530-
summary: Additional flags to set on the Activity Window.
529+
- name: flags
530+
summary: Additional flags to set on the TabGroup.
531531
description: |
532532
Use <Titanium.UI.Android.STATUS_BAR_LIGHT> to set the statusbar text color to light mode.
533533
platforms: [android]

0 commit comments

Comments
 (0)