Add Crashlytics.
This commit is contained in:
		
							parent
							
								
									70c25b0fc5
								
							
						
					
					
						commit
						dfc6c4e673
					
				
					 6 changed files with 139 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -157,7 +157,13 @@ private fun PartyBackground(
 | 
			
		|||
            Image(
 | 
			
		||||
                modifier = Modifier
 | 
			
		||||
                    .fillMaxHeight()
 | 
			
		||||
                    .weight(weight = animatedWeight(progress = balance, divergence = 0.95f, position = 1f)),
 | 
			
		||||
                    .weight(
 | 
			
		||||
                        weight = animatedWeight(
 | 
			
		||||
                            progress = balance,
 | 
			
		||||
                            divergence = 0.95f,
 | 
			
		||||
                            position = 1f
 | 
			
		||||
                        )
 | 
			
		||||
                    ),
 | 
			
		||||
                contentScale = ContentScale.FillHeight,
 | 
			
		||||
                colorFilter = colorFilter,
 | 
			
		||||
                painter = painterResource(id = images[0]),
 | 
			
		||||
| 
						 | 
				
			
			@ -172,7 +178,13 @@ private fun PartyBackground(
 | 
			
		|||
            Image(
 | 
			
		||||
                modifier = Modifier
 | 
			
		||||
                    .fillMaxHeight()
 | 
			
		||||
                    .weight(weight = animatedWeight(progress = balance, divergence = 0.93f, position = .5f)),
 | 
			
		||||
                    .weight(
 | 
			
		||||
                        weight = animatedWeight(
 | 
			
		||||
                            progress = balance,
 | 
			
		||||
                            divergence = 0.93f,
 | 
			
		||||
                            position = .5f
 | 
			
		||||
                        )
 | 
			
		||||
                    ),
 | 
			
		||||
                contentScale = ContentScale.FillHeight,
 | 
			
		||||
                colorFilter = colorFilter,
 | 
			
		||||
                painter = painterResource(id = images[1]),
 | 
			
		||||
| 
						 | 
				
			
			@ -187,7 +199,13 @@ private fun PartyBackground(
 | 
			
		|||
            Image(
 | 
			
		||||
                modifier = Modifier
 | 
			
		||||
                    .fillMaxHeight()
 | 
			
		||||
                    .weight(weight = animatedWeight(progress = balance, divergence = 0.91f, position = 0f)),
 | 
			
		||||
                    .weight(
 | 
			
		||||
                        weight = animatedWeight(
 | 
			
		||||
                            progress = balance,
 | 
			
		||||
                            divergence = 0.91f,
 | 
			
		||||
                            position = 0f
 | 
			
		||||
                        )
 | 
			
		||||
                    ),
 | 
			
		||||
                contentScale = ContentScale.FillHeight,
 | 
			
		||||
                colorFilter = colorFilter,
 | 
			
		||||
                painter = painterResource(id = images[2]),
 | 
			
		||||
| 
						 | 
				
			
			@ -202,7 +220,13 @@ private fun PartyBackground(
 | 
			
		|||
            Image(
 | 
			
		||||
                modifier = Modifier
 | 
			
		||||
                    .fillMaxHeight()
 | 
			
		||||
                    .weight(weight = animatedWeight(progress = balance, divergence = 0.93f, position = -.5f)),
 | 
			
		||||
                    .weight(
 | 
			
		||||
                        weight = animatedWeight(
 | 
			
		||||
                            progress = balance,
 | 
			
		||||
                            divergence = 0.93f,
 | 
			
		||||
                            position = -.5f
 | 
			
		||||
                        )
 | 
			
		||||
                    ),
 | 
			
		||||
                contentScale = ContentScale.FillHeight,
 | 
			
		||||
                colorFilter = colorFilter,
 | 
			
		||||
                painter = painterResource(id = images[3]),
 | 
			
		||||
| 
						 | 
				
			
			@ -217,7 +241,13 @@ private fun PartyBackground(
 | 
			
		|||
            Image(
 | 
			
		||||
                modifier = Modifier
 | 
			
		||||
                    .fillMaxHeight()
 | 
			
		||||
                    .weight(weight = animatedWeight(progress = balance, divergence = 0.95f, position = -1f)),
 | 
			
		||||
                    .weight(
 | 
			
		||||
                        weight = animatedWeight(
 | 
			
		||||
                            progress = balance,
 | 
			
		||||
                            divergence = 0.95f,
 | 
			
		||||
                            position = -1f
 | 
			
		||||
                        )
 | 
			
		||||
                    ),
 | 
			
		||||
                contentScale = ContentScale.FillHeight,
 | 
			
		||||
                colorFilter = colorFilter,
 | 
			
		||||
                painter = painterResource(id = images[4]),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,7 +78,7 @@ class AuthenticationViewModel @Inject constructor(
 | 
			
		|||
                    repository.updateAuthenticationState()
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            .addOnFailureListener { e ->
 | 
			
		||||
            .addOnFailureListener {
 | 
			
		||||
                state.value = Authentication.Failure
 | 
			
		||||
                repository.updateAuthenticationState()
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue