- Added search functionality to BookmarkLabelsView with real-time filtering - Implemented custom tag creation with smart suggestions - Unified search and tag selection in ShareBookmarkView - Added keyboard toolbar with 'Done' button for extensions - Implemented notification-based keyboard dismissal for extensions - Added pagination logic to ShareBookmarkViewModel - Created selected tags section with remove functionality - Improved UX with consistent tag management across views - Added proper keyboard handling for iOS extensions
34 lines
497 B
Swift
34 lines
497 B
Swift
//
|
|
// AppSettings.swift
|
|
// readeck
|
|
//
|
|
// Created by Ilyas Hallak on 21.07.25.
|
|
//
|
|
|
|
|
|
//
|
|
// AppSettings.swift
|
|
// readeck
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
|
|
import Foundation
|
|
import Combine
|
|
|
|
class AppSettings: ObservableObject {
|
|
@Published var settings: Settings?
|
|
|
|
var enableTTS: Bool {
|
|
settings?.enableTTS ?? false
|
|
}
|
|
|
|
var theme: Theme {
|
|
settings?.theme ?? .system
|
|
}
|
|
|
|
init(settings: Settings? = nil) {
|
|
self.settings = settings
|
|
}
|
|
}
|