Fix: iOS share extension not detecting new devices after a while #2

This commit is contained in:
Leon Böttger committed 2025-11-22 18:52:02 +01:00
1 parent fdc19b6f62
commit 9e7278d327
2 files changed
+5 -3

No files matched your search

+3 -3
View File
@@ -65,11 +65,11 @@ struct DeviceListView: View {
BottomBarView(header: "QuickDrop", navigationBarLayout: isShareExtension() ? .SmallOnlyAlways : .Default, bottomViewHeight: 30) {
VStack {
if nearbyConnectionManager.hasLocalNetworkPermission {
let attachments = nearbyConnectionManager.attachments
if nearbyConnectionManager.hasLocalNetworkPermission && attachments == nil {
VStack(alignment: .leading, spacing: 8) {
let attachments = nearbyConnectionManager.attachments
FormHeader(name: attachments == nil ? "YouAreVisibleAs".localized() : "YouAreSending".localized())
HStack {