mirror of
https://github.com/localsend/localsend.git
synced 2026-06-23 04:10:07 +00:00
fix: black screen when tapping on "Back" twice in "Share via link" (#2079)
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## 1.17.0 (unreleased)
|
||||
|
||||
- fix: black screen when tapping on "Back" twice in "Share via link" (@Tienisto)
|
||||
|
||||
## 1.16.2 (2024-11-06)
|
||||
|
||||
- fix(ios): share from other apps to LocalSend doesn't work in iOS 18 (@Tienisto)
|
||||
|
||||
@@ -82,6 +82,10 @@ class _WebSendPageState extends State<WebSendPage> with Refena {
|
||||
Widget build(BuildContext context) {
|
||||
return PopScope(
|
||||
onPopInvokedWithResult: (_, __) async {
|
||||
if (_stateEnum != _ServerState.running) {
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
_stateEnum = _ServerState.stopping;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user