Fixed "Add images" text on FAB disappearing at the end of animation
Fixed scheduling wrong time for wallpaper changing on startup
This commit is contained in:
1 parent
4117ffb90a
commit
0cc477b7e8
2 files changed
+2
-1
No files matched your search
+1
@@ -88,6 +88,7 @@ class MainActivity : ComponentActivity() {
|
||||
if (!isAlreadyRunning) {
|
||||
val intent = Intent(context, WallpaperService::class.java).apply {
|
||||
action = WallpaperService.Actions.START.toString()
|
||||
putExtra("timeInMinutes", settingsState.value.interval)
|
||||
}
|
||||
context.startForegroundService(intent)
|
||||
}
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ fun AddAlbumAnimatedFab(
|
||||
|
||||
BackHandler(expanded) { expanded = false }
|
||||
|
||||
val expandHorizontalSize = Pair(155.dp, 90.dp)
|
||||
val expandHorizontalSize = Pair(165.dp, 90.dp)
|
||||
val expandHorizontally by fabTransition.animateDp(
|
||||
transitionSpec = { spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow) }, label = "",
|
||||
targetValueByState = { isExpanded ->
|
||||
|
||||
Reference in new issue
Block a user