Parcourir la Source

Remove overflow menu from enrolled/teaching popup stream cards.

The shared stream meta row now omits the three-dot label so announcement and coursework cards match the requested UI.

Made-with: Cursor
huzaifahayat12 il y a 1 semaine
Parent
commit
21098a0572
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 1 5
      classroom_app/ViewController.swift

+ 1 - 5
classroom_app/ViewController.swift

@@ -5263,11 +5263,7 @@ private final class EnrolledClassDetailsViewController: NSViewController {
5263 5263
         nameTime.alignment = .leading
5264 5264
         nameTime.spacing = 2
5265 5265
 
5266
-        let menu = NSTextField(labelWithString: "⋮")
5267
-        menu.font = NSFont.systemFont(ofSize: 18, weight: .semibold)
5268
-        menu.textColor = palette.textMuted
5269
-
5270
-        let row = NSStackView(views: [avatar, nameTime, NSView(), menu])
5266
+        let row = NSStackView(views: [avatar, nameTime, NSView()])
5271 5267
         row.orientation = .horizontal
5272 5268
         row.alignment = .top
5273 5269
         row.distribution = .fill