Quellcode durchsuchen

set server logo, ContentScale.FillBounds

Khubaib vor 1 Jahr
Ursprung
Commit
9408168ac5

+ 3 - 3
.idea/deploymentTargetDropDown.xml

@@ -12,13 +12,13 @@
               <type value="RUNNING_DEVICE_TARGET" />
               <deviceKey>
                 <Key>
-                  <type value="SERIAL_NUMBER" />
-                  <value value="1C051FDF60048Z" />
+                  <type value="VIRTUAL_DEVICE_PATH" />
+                  <value value="$USER_HOME$/.android/avd/Small_Phone_API_27.avd" />
                 </Key>
               </deviceKey>
             </Target>
           </runningDeviceTargetSelectedWithDropDown>
-          <timeTargetWasSelectedWithDropDown value="2024-04-21T12:04:35.123570812Z" />
+          <timeTargetWasSelectedWithDropDown value="2024-04-21T12:26:15.313045059Z" />
         </State>
       </entry>
     </value>

+ 1 - 1
app/src/main/java/com/vpn/fastestvpnservice/customItems/CountryItem.kt

@@ -176,7 +176,7 @@ fun CountryItem(
                             .border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
                             .paint(
                                 painter = painterResource(id = icon),
-                                contentScale = ContentScale.FillHeight
+                                contentScale = ContentScale.FillBounds
                             )
                     )
                     Text(text = server.country!!,

+ 4 - 4
app/src/main/java/com/vpn/fastestvpnservice/customItems/ServerItem.kt

@@ -180,7 +180,7 @@ fun ServerItem(server: Server, navHostController: NavHostController, serverPing:
                     .border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
                     .paint(
                         painter = painterResource(id = icon),
-                        contentScale = ContentScale.FillHeight
+                        contentScale = ContentScale.FillBounds
                     )
             )
             Text(text = server.server_name!!,
@@ -329,7 +329,7 @@ fun FavoriteServerItem(server: Server, navHostController: NavHostController) {
                     .border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
                     .paint(
                         painter = painterResource(id = icon),
-                        contentScale = ContentScale.FillHeight
+                        contentScale = ContentScale.FillBounds
                     )
 
             )
@@ -506,7 +506,7 @@ fun ServerSearchItem(
                     .border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
                     .paint(
                         painter = painterResource(id = icon),
-                        contentScale = ContentScale.FillHeight
+                        contentScale = ContentScale.FillBounds
                     )
             )
             Text(text = server.server_name!!,
@@ -626,7 +626,7 @@ fun ServerSpecificItem(
                     .border(1.dp, colorResource(id = R.color.gray_opac_04), CircleShape)
                     .paint(
                         painter = painterResource(id = icon),
-                        contentScale = ContentScale.FillHeight
+                        contentScale = ContentScale.FillBounds
                     )
             )
             Text(text = server.server_name!!,

+ 1 - 1
app/src/main/java/com/vpn/fastestvpnservice/screens/bottomNavBarScreens/HomeScreen.kt

@@ -1629,7 +1629,7 @@ fun BoxScope.AddRowSmart(
                     .clip(CircleShape)
                     .paint(
                         painter = painterResource(id = icon),
-                        contentScale = ContentScale.FillHeight
+                        contentScale = ContentScale.FillBounds
                     )
             )
         }