You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
444 B
21 lines
444 B
//
|
|
// SettingsManager.swift
|
|
// elpha-ios
|
|
//
|
|
// Created by Dwayne Harris on 11/16/18.
|
|
// Copyright © 2018 Elpha. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class SettingsManager {
|
|
public static var automaticallyPlayGIFs: Bool {
|
|
get {
|
|
return UserDefaults.standard.bool(forKey: "settings:gif")
|
|
}
|
|
|
|
set {
|
|
UserDefaults.standard.set(newValue, forKey: "settings:gif")
|
|
}
|
|
}
|
|
}
|