mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
ui: simplify suspended session overlay
This commit is contained in:
1 parent
3e337c9bda
commit
6120069975
2 files changed
+6
-48
No files matched your search
@@ -360,8 +360,6 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
|
||||
if (SessionState.suspended) SessionPausedOverlay(
|
||||
title = pausedTitle(),
|
||||
onResume = { SessionService.resume(this@SessionActivity) },
|
||||
// As the drawer's Stop does; stopping resumes the paused processes first.
|
||||
onStop = { SessionService.stop(this@SessionActivity); finish() },
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user