Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Toolbar spacing #311

Merged
merged 4 commits into from
Sep 8, 2024
Merged

Fix Toolbar spacing #311

merged 4 commits into from
Sep 8, 2024

Conversation

peng-u-0807
Copy link
Member

  • 친구 기기에서 TimetableScene toolbar overflow를 발견했는데 toolbar로는 해결이 어려워서 HStack으로 변경
  • 관련 이미지
    iPhoneSE

@peng-u-0807 peng-u-0807 self-assigned this Sep 4, 2024
@peng-u-0807 peng-u-0807 requested a review from a team as a code owner September 4, 2024 06:19
@@ -13,6 +13,7 @@ struct TimetableScene: View, Sendable {
@State private var pushToListScene = false
@State private var isShareSheetOpened = false
@State private var screenshot: UIImage = .init()
@State private var screenSize: CGSize = .zero
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 없앨 방법이 없을까?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

시간표 이미지를 full-screen 사이즈로 만들게 아니라서 변수를 따로 둬야하긴해

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그건 아는데 geometry reader의 위치를 바꾸든지 해서 직접 읽어오게 하면 좋을듯

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

customToolBar height를 그냥 상수로 두게 바꿨어 커밋올림~!

SNUTT-2022/SNUTT/Views/Scenes/TimetableScene.swift Outdated Show resolved Hide resolved
@peng-u-0807 peng-u-0807 merged commit 1e1ebb4 into master Sep 8, 2024
peng-u-0807 added a commit that referenced this pull request Sep 19, 2024
* Fix Toolbar spacing

* Apply SwiftFormat changes

* Remove `screenSize`

* Apply SwiftFormat changes

---------

Co-authored-by: peng-u-0807 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants