mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-14 01:26:05 +01:00
21 lines
366 B
Swift
21 lines
366 B
Swift
//
|
|
// AppPreference.swift
|
|
// Mastodon
|
|
//
|
|
// Created by MainasuK Cirno on 2021-7-8.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
extension UserDefaults {
|
|
|
|
@objc public dynamic var preferredUsingDefaultBrowser: Bool {
|
|
get {
|
|
register(defaults: [#function: false])
|
|
return bool(forKey: #function)
|
|
}
|
|
set { self[#function] = newValue }
|
|
}
|
|
|
|
}
|