Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to Better Shot will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- **Stacked preview cards**: Screenshots taken in quick succession now stack up in the corner (newest at the bottom, up to 5) instead of replacing each other — like CleanShot X. Each card has its own auto-dismiss timer and close button, and cards are ~30% larger than before
- **"Keep visible until closed" option**: New toggle in Capture settings keeps preview cards on screen until dismissed manually via their close button (disables the auto-dismiss timer)

## [0.3.7] - 2026-06-07

### Added
Expand Down
8 changes: 8 additions & 0 deletions Sources/Models/AppPreferences.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ enum AppPreferences {
private static let playSoundKey = "bs_playSound"
private static let overlayPositionKey = "bs_overlayPosition"
private static let overlayDismissDelayKey = "bs_overlayDismissDelay"
private static let overlayNeverDismissKey = "bs_overlayNeverDismiss"
private static let exportFormatKey = "bs_exportFormat"
private static let exportQualityKey = "bs_exportQuality"
private static let selfTimerKey = "bs_selfTimerDelay"
Expand Down Expand Up @@ -67,6 +68,13 @@ enum AppPreferences {
set { UserDefaults.standard.set(newValue, forKey: overlayDismissDelayKey) }
}

/// When true, preview overlay cards stay visible until manually closed
/// (no auto-dismiss timer).
static var overlayNeverDismiss: Bool {
get { UserDefaults.standard.object(forKey: overlayNeverDismissKey) as? Bool ?? false }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: bool(forKey:) is simpler here and avoids the object(forKey:) as? Bool bridge.

Suggested change
get { UserDefaults.standard.object(forKey: overlayNeverDismissKey) as? Bool ?? false }
get { UserDefaults.standard.bool(forKey: overlayNeverDismissKey) }

set { UserDefaults.standard.set(newValue, forKey: overlayNeverDismissKey) }
}

// MARK: - Export
static var exportFormat: ExportFormat {
get {
Expand Down
Loading