diff --git a/HNReader.xcodeproj/project.xcworkspace/xcuserdata/mattrighetti.xcuserdatad/UserInterfaceState.xcuserstate b/HNReader.xcodeproj/project.xcworkspace/xcuserdata/mattrighetti.xcuserdatad/UserInterfaceState.xcuserstate index 0f51309..14e6ebe 100644 Binary files a/HNReader.xcodeproj/project.xcworkspace/xcuserdata/mattrighetti.xcuserdatad/UserInterfaceState.xcuserstate and b/HNReader.xcodeproj/project.xcworkspace/xcuserdata/mattrighetti.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/HNReader/View/ItemCell.swift b/HNReader/View/ItemCell.swift index 03cca1d..7d1ff74 100644 --- a/HNReader/View/ItemCell.swift +++ b/HNReader/View/ItemCell.swift @@ -97,10 +97,13 @@ struct ItemCell: View { } .frame(width: 50, height: 50) .onHover { isHovered in - guard item?.url == nil else { return } DispatchQueue.main.async { if (isHovered) { - NSCursor.operationNotAllowed.push() + if item?.url == nil { + NSCursor.operationNotAllowed.push() + } else { + NSCursor.pointingHand.push() + } } else { NSCursor.pop() } @@ -113,7 +116,7 @@ struct ItemCell: View { }.padding(.leading) } .padding() - .background(colorScheme == .dark ? Color.black.opacity(0.3) : Color.white) + .background(colorScheme == .dark ? Color.black.opacity(0.3) : Color.gray.opacity(0.1)) .cornerRadius(10) .onAppear { if item == nil {