File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed 
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1515	<key  >CFBundlePackageType </key  >
1616	<string  >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string  >
1717	<key  >CFBundleShortVersionString </key  >
18- 	<string  >1.0.3  </string  >
18+ 	<string  >1.0.4  </string  >
1919	<key  >CFBundleVersion </key  >
20- 	<string  >103 </string  >
20+ 	<string  >104 </string  >
2121	<key  >LSRequiresIPhoneOS </key  >
2222	<true  />
2323	<key  >CADisableMinimumFrameDurationOnPhone </key  >
Original file line number Diff line number Diff line change @@ -224,8 +224,15 @@ fun FloatingNavigationBar(
224224
225225    val  dividerLineColor =  MiuixTheme .colorScheme.dividerLine
226226
227-     val  platformValue =  platform()
228-     val  bottomPaddingValue =  if  (platformValue !=  Platform .IOS ) 36 .dp else  30 .dp
227+     val  platformValue =  remember { platform() }
228+     val  bottomPaddingValue =  when  (platformValue) {
229+         Platform .IOS  ->  8 .dp
230+         Platform .Android  ->  {
231+             val  navBarBottomPadding =  WindowInsets .navigationBars.only(WindowInsetsSides .Bottom ).asPaddingValues().calculateBottomPadding()
232+             if  (navBarBottomPadding !=  0 .dp) 8 .dp +  navBarBottomPadding else  36 .dp
233+         }
234+         else  ->  36 .dp
235+     }
229236
230237    val  rootColumnModifier =  remember(horizontalAlignment, horizontalOutSidePadding) {
231238        Modifier 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments