Updating statusColor
This commit is contained in:
parent
162d3729a0
commit
b5072f695b
|
@ -44,8 +44,8 @@
|
||||||
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
||||||
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||||
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||||
6436409227A31CD100820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
6436409427A31CDD00820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
6436409227A31CD000820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
6436409127A31CD000820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
|
@ -225,8 +225,8 @@
|
||||||
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
||||||
isa = PBXVariantGroup;
|
isa = PBXVariantGroup;
|
||||||
children = (
|
children = (
|
||||||
6436409227A31CD100820AF7 /* pt */,
|
6436409427A31CDD00820AF7 /* pt */,
|
||||||
6436409227A31CD000820AF7 /* en */,
|
6436409127A31CD000820AF7 /* en */,
|
||||||
);
|
);
|
||||||
name = InfoPlist.strings;
|
name = InfoPlist.strings;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
|
@ -2664,25 +2664,37 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
valueOrDefault<
|
valueOrDefault<
|
||||||
Color>(
|
Color>(
|
||||||
() {
|
() {
|
||||||
if (functions.jsonToStr(
|
if (functions
|
||||||
getJsonField(
|
.jsonToStr(getJsonField(
|
||||||
visitaWrapItem,
|
visitaWrapItem,
|
||||||
r'''$.VAW_STATUS''',
|
r'''$.VAW_STATUS''',
|
||||||
)) ==
|
)) ==
|
||||||
'\"A\"') {
|
'\"A\"') {
|
||||||
return FlutterFlowTheme.of(context)
|
return FlutterFlowTheme.of(context)
|
||||||
.success;
|
.success;
|
||||||
} else if ((visitStatusStr == 'C') ||
|
} else if ((functions.jsonToStr(getJsonField(
|
||||||
(visitStatusStr ==
|
visitaWrapItem,
|
||||||
|
r'''$.VAW_STATUS''',
|
||||||
|
)) ==
|
||||||
|
'C') ||
|
||||||
|
(functions.jsonToStr(getJsonField(
|
||||||
|
visitaWrapItem,
|
||||||
|
r'''$.VAW_STATUS''',
|
||||||
|
)) ==
|
||||||
'F') ||
|
'F') ||
|
||||||
(visitStatusStr ==
|
(functions.jsonToStr(getJsonField(
|
||||||
|
visitaWrapItem,
|
||||||
|
r'''$.VAW_STATUS''',
|
||||||
|
)) ==
|
||||||
'B') ||
|
'B') ||
|
||||||
(visitStatusStr ==
|
(functions.jsonToStr(getJsonField(
|
||||||
|
visitaWrapItem,
|
||||||
|
r'''$.VAW_STATUS''',
|
||||||
|
)) ==
|
||||||
'I')) {
|
'I')) {
|
||||||
return FlutterFlowTheme.of(context)
|
return FlutterFlowTheme.of(context)
|
||||||
.error;
|
.error;
|
||||||
} else if (functions
|
} else if (functions.jsonToStr(getJsonField(
|
||||||
.jsonToStr(getJsonField(
|
|
||||||
visitaWrapItem,
|
visitaWrapItem,
|
||||||
r'''$.VAW_STATUS''',
|
r'''$.VAW_STATUS''',
|
||||||
)) ==
|
)) ==
|
||||||
|
|
Loading…
Reference in New Issue