@@ -1370,16 +1370,16 @@ public void run() {
1370
1370
com .instabug .library .model .IBGTheme .Builder builder = new com .instabug .library .model .IBGTheme .Builder ();
1371
1371
1372
1372
// Apply colors
1373
- applyColorIfPresent (themeConfig , builder , "primaryColor" , (b , color ) -> b .setPrimaryColor (color ));
1374
- applyColorIfPresent (themeConfig , builder , "secondaryTextColor" , (b , color ) -> b .setSecondaryTextColor (color ));
1375
- applyColorIfPresent (themeConfig , builder , "primaryTextColor" , (b , color ) -> b .setPrimaryTextColor (color ));
1376
- applyColorIfPresent (themeConfig , builder , "titleTextColor" , (b , color ) -> b .setTitleTextColor (color ));
1377
- applyColorIfPresent (themeConfig , builder , "backgroundColor" , (b , color ) -> b .setBackgroundColor (color ));
1373
+ applyColorIfPresent (themeConfig , builder , "primaryColor" , (themeBuilder , color ) -> themeBuilder .setPrimaryColor (color ));
1374
+ applyColorIfPresent (themeConfig , builder , "secondaryTextColor" , (themeBuilder , color ) -> themeBuilder .setSecondaryTextColor (color ));
1375
+ applyColorIfPresent (themeConfig , builder , "primaryTextColor" , (themeBuilder , color ) -> themeBuilder .setPrimaryTextColor (color ));
1376
+ applyColorIfPresent (themeConfig , builder , "titleTextColor" , (themeBuilder , color ) -> themeBuilder .setTitleTextColor (color ));
1377
+ applyColorIfPresent (themeConfig , builder , "backgroundColor" , (themeBuilder , color ) -> themeBuilder .setBackgroundColor (color ));
1378
1378
1379
1379
// Apply text styles
1380
- applyTextStyleIfPresent (themeConfig , builder , "primaryTextStyle" , (b , style ) -> b .setPrimaryTextStyle (style ));
1381
- applyTextStyleIfPresent (themeConfig , builder , "secondaryTextStyle" , (b , style ) -> b .setSecondaryTextStyle (style ));
1382
- applyTextStyleIfPresent (themeConfig , builder , "ctaTextStyle" , (b , style ) -> b .setCtaTextStyle (style ));
1380
+ applyTextStyleIfPresent (themeConfig , builder , "primaryTextStyle" , (themeBuilder , style ) -> themeBuilder .setPrimaryTextStyle (style ));
1381
+ applyTextStyleIfPresent (themeConfig , builder , "secondaryTextStyle" , (themeBuilder , style ) -> themeBuilder .setSecondaryTextStyle (style ));
1382
+ applyTextStyleIfPresent (themeConfig , builder , "ctaTextStyle" , (themeBuilder , style ) -> themeBuilder .setCtaTextStyle (style ));
1383
1383
setFontIfPresent (themeConfig , builder , "primaryFontPath" , "primaryFontAsset" , "primary" );
1384
1384
setFontIfPresent (themeConfig , builder , "secondaryFontPath" , "secondaryFontAsset" , "secondary" );
1385
1385
setFontIfPresent (themeConfig , builder , "ctaFontPath" , "ctaFontAsset" , "CTA" );
0 commit comments