Skip to content

Commit

Permalink
fix: typo from androidRandingItemXml to androidBrandingItemXml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzyct committed Jun 27, 2024
1 parent 1d57963 commit 1bf27eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/android.dart
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ void _applyLaunchBackgroundXml({

if (showBranding && gravity != brandingGravityValue) {
//add branding when splash image and branding image are not at the same position
final androidRandingItemXml = _androidBrandingItemXml.replaceAll(
final androidBrandingItemXml = _androidBrandingItemXml.replaceAll(
"{bottom_padding}", brandingBottomPadding ?? "0");
print('[Android] branding bottom padding: ${brandingBottomPadding ?? "0"}');
final brandingItem =
XmlDocument.parse(androidRandingItemXml).rootElement.copy();
XmlDocument.parse(androidBrandingItemXml).rootElement.copy();
if (brandingGravityValue == 'bottomRight') {
brandingGravityValue = 'bottom|right';
} else if (brandingGravityValue == 'bottomLeft') {
Expand Down

0 comments on commit 1bf27eb

Please sign in to comment.