Skip to content

Commit

Permalink
LINT fixes
Browse files Browse the repository at this point in the history
Took 11 minutes
  • Loading branch information
JulesPvx committed May 28, 2024
1 parent c7d8b96 commit 207756d
Show file tree
Hide file tree
Showing 18 changed files with 48 additions and 11,830 deletions.
5 changes: 2 additions & 3 deletions app/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues name="AGP (7.4.0-alpha09)" by="lint 7.4.0-alpha09" client="gradle" dependencies="true" format="6"
type="baseline" variant="all" version="7.4.0-alpha09">
<issues format="6" by="lint 8.4.1" type="baseline" client="gradle" dependencies="true" name="AGP (8.4.1)" variant="all" version="8.4.1">

</issues>
</issues>
8 changes: 6 additions & 2 deletions app/src/main/java/fr/angel/soundtap/ui/OnboardingScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
Expand Down Expand Up @@ -64,7 +65,10 @@ import androidx.core.graphics.BlendModeColorFilterCompat
import androidx.core.graphics.BlendModeCompat
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.airbnb.lottie.LottieProperty
import com.airbnb.lottie.RenderMode
import com.airbnb.lottie.compose.LottieAnimation
import com.airbnb.lottie.compose.LottieCompositionSpec
import com.airbnb.lottie.compose.LottieConstants
import com.airbnb.lottie.compose.rememberLottieComposition
import com.airbnb.lottie.compose.rememberLottieDynamicProperties
import com.airbnb.lottie.compose.rememberLottieDynamicProperty
Expand Down Expand Up @@ -436,7 +440,7 @@ private fun TemplatePage(

val composition by rememberLottieComposition(LottieCompositionSpec.RawRes(animationImage))
Spacer(modifier = Modifier.weight(1f))
/*LottieAnimation(
LottieAnimation(
composition = composition,
iterations = LottieConstants.IterateForever,
renderMode = RenderMode.HARDWARE,
Expand All @@ -446,7 +450,7 @@ private fun TemplatePage(
.fillMaxHeight(0.3f)
.align(Alignment.CenterHorizontally),
dynamicProperties = dynamicProperties
)*/
)
}
Spacer(modifier = Modifier.weight(1f))

Expand Down
7 changes: 5 additions & 2 deletions app/src/main/java/fr/angel/soundtap/ui/app/HistoryScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ import androidx.compose.ui.layout.onSizeChanged
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.airbnb.lottie.RenderMode
import com.airbnb.lottie.compose.LottieAnimation
import com.airbnb.lottie.compose.LottieCompositionSpec
import com.airbnb.lottie.compose.LottieConstants
import com.airbnb.lottie.compose.rememberLottieComposition
import fr.angel.soundtap.MainViewModel
import fr.angel.soundtap.R
Expand Down Expand Up @@ -174,15 +177,15 @@ fun SharedTransitionScope.HistoryScreen(
LottieCompositionSpec.RawRes(R.raw.empty),
)

/*LottieAnimation(
LottieAnimation(
composition = composition,
iterations = LottieConstants.IterateForever,
renderMode = RenderMode.HARDWARE,
modifier = Modifier
.fillMaxWidth(0.8f)
.align(Alignment.CenterHorizontally)
.then(shaderModifier)
)*/
)
Text(
text = "No history",
modifier = Modifier.align(Alignment.CenterHorizontally),
Expand Down

This file was deleted.

17 changes: 10 additions & 7 deletions app/src/main/res/drawable/haptic_feedback_light.xml

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions app/src/main/res/drawable/haptic_feedback_medium.xml

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions app/src/main/res/drawable/haptic_feedback_strong.xml

Large diffs are not rendered by default.

170 changes: 0 additions & 170 deletions app/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

27 changes: 0 additions & 27 deletions app/src/main/res/drawable/ic_launcher_foreground.xml

This file was deleted.

7 changes: 0 additions & 7 deletions app/src/main/res/layout/overlay.xml

This file was deleted.

7 changes: 0 additions & 7 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

This file was deleted.

7 changes: 0 additions & 7 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

This file was deleted.

Loading

0 comments on commit 207756d

Please sign in to comment.