Skip to content

Commit 3391371

Browse files
committed
Various fixes
1 parent bc45193 commit 3391371

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

submodules/TelegramUI/Components/Stars/StarsTransactionScreen/Sources/StarsTransactionScreen.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,8 +947,10 @@ private final class StarsTransactionSheetContent: CombinedComponent {
947947
return nil
948948
}
949949
},
950-
tapAction: { _, _ in
951-
openAppExamples()
950+
tapAction: { attributes, _ in
951+
if let _ = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.URL)] {
952+
openAppExamples()
953+
}
952954
}
953955
),
954956
availableSize: CGSize(width: context.availableSize.width - sideInset * 2.0 - 60.0, height: CGFloat.greatestFiniteMagnitude),

0 commit comments

Comments
 (0)