File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
kotlin/com/woocommerce/android Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,24 @@ private fun SyncingCatalog(
120120 )
121121 }
122122
123- Text (
124- text = stringResource(R .string.woopos_home_syncing_catalog_subtitle),
125- style = MaterialTheme .typography.bodySmall,
126- textAlign = TextAlign .Center ,
127- color = WooPosTheme .colors.onSurfaceVariantLowest
128- )
123+ Column (
124+ horizontalAlignment = Alignment .CenterHorizontally ,
125+ modifier = Modifier .padding(horizontal = WooPosSpacing .XLarge .value),
126+ ) {
127+ Text (
128+ text = stringResource(R .string.woopos_home_syncing_catalog_hint),
129+ style = MaterialTheme .typography.bodyMedium,
130+ textAlign = TextAlign .Center ,
131+ color = WooPosTheme .colors.onSurfaceVariantLowest,
132+ )
133+ Text (
134+ text = stringResource(R .string.woopos_home_syncing_catalog_subtitle),
135+ style = MaterialTheme .typography.bodyMedium,
136+ textAlign = TextAlign .Center ,
137+ color = WooPosTheme .colors.onSurfaceVariantLowest,
138+ modifier = Modifier .padding(top = 4 .dp),
139+ )
140+ }
129141 }
130142 }
131143}
Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ enum class FeatureFlag {
4545 POS_PRODUCTS_FTS ,
4646 POS_REFUNDS ,
4747 WOO_POS_CLIENT_SIDE_BANNER ,
48+ WOO_POS_LOCAL_CATALOG_FILE_APPROACH ,
4849 AGE_ELIGIBILITY_CHECKS -> PackageUtils .isDebugBuild()
4950
5051 WOO_PUSH_NOTIFICATIONS_SYSTEM ,
51- WOO_PUSH_NOTIFICATIONS_SYSTEM_M2 ,
52- WOO_POS_LOCAL_CATALOG_FILE_APPROACH -> false
52+ WOO_PUSH_NOTIFICATIONS_SYSTEM_M2 -> false
5353 }
5454 }
5555}
Original file line number Diff line number Diff line change 36303630 Woo POS
36313631 -->
36323632 <string name =" woopos_home_syncing_catalog_title" >Syncing catalog</string >
3633- <string name =" woopos_home_syncing_catalog_subtitle" >Syncing will continue in the background.</string >
3633+ <string name =" woopos_home_syncing_catalog_hint" >Catalog syncing may take a few minutes.</string >
3634+ <string name =" woopos_home_syncing_catalog_subtitle" >You can leave and syncing will continue in the background.</string >
36343635 <string name =" woopos_home_syncing_catalog_exit_button" >Exit POS</string >
36353636 <string name =" woopos_home_sync_failed_title" >Unable to sync</string >
36363637 <string name =" woopos_home_sync_failed_message" >We are unable to sync your product catalog. Please check your internet connection and retry.</string >
You can’t perform that action at this time.
0 commit comments