Skip to content

Commit 77474a6

Browse files
committed
fix: #116 Continue browsing reverted license check
1 parent b249afd commit 77474a6

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

app/src/main/java/com/sameerasw/airsync/utils/ClipboardSyncManager.kt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,7 @@ object ClipboardSyncManager {
172172
} catch (_: Exception) {
173173
true
174174
}
175-
// Only for Plus and while connected
176-
val isConnected = WebSocketUtil.isConnected()
177-
val last = try {
178-
dataStoreManager.getLastConnectedDevice().first()
179-
} catch (_: Exception) {
180-
null
181-
}
182-
val isPlus = last?.isPlus == true
183-
if (continueEnabled && isConnected && isPlus && isLinkOnly(text)) {
175+
if (continueEnabled && isConnected && isLinkOnly(text)) {
184176
NotificationUtil.showContinueBrowsingLink(context, text.trim(), keepPrevious)
185177
}
186178
}

0 commit comments

Comments
 (0)