Skip to content

サ活一覧の件数表示を共通化#265

Merged
uhooi merged 1 commit into
mainfrom
refactor/extract-sakatsus-count-text
Apr 20, 2026
Merged

サ活一覧の件数表示を共通化#265
uhooi merged 1 commit into
mainfrom
refactor/extract-sakatsus-count-text

Conversation

@uhooi
Copy link
Copy Markdown
Owner

@uhooi uhooi commented Apr 20, 2026

チケット

  • なし

仕様書・Figma

  • なし

やったこと

  • サ活一覧画面の件数表示UIを共通関数に抽出

やってないこと

参考リンク

  • x

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@uhooi uhooi self-assigned this Apr 20, 2026
@uhooi uhooi changed the title [x] サ活一覧の件数表示を共通化 サ活一覧の件数表示を共通化 Apr 20, 2026
@uhooi uhooi marked this pull request as ready for review April 20, 2026 07:30
Copilot AI review requested due to automatic review settings April 20, 2026 07:30
@uhooi uhooi merged commit 912b45e into main Apr 20, 2026
13 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

サ活一覧画面の「件数表示」UI(iOS 26 系ツールバー内で重複していた表示)を共通関数に抽出し、重複を減らす変更です。

Changes:

  • iOS 26.0 以上のツールバー内で重複していた件数表示 TextsakatsusCountText に抽出
  • .font(.subheadline) / .foregroundStyle(.secondary) のスタイル適用を共通化

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +162 to +167
@available(iOS 26.0, *)
private func sakatsusCountText(sakatsusCount: Int) -> some View {
Text("\(sakatsusCount) Sakatsu(s)", bundle: .module)
.font(.subheadline)
.foregroundStyle(.secondary)
}
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