robosats/frontend/src/models/Settings.default.pro.ts

14 lines
391 B
TypeScript
Raw Normal View History

import { systemClient } from '../services/System';
import BaseSettings from './Settings.model';
class Settings extends BaseSettings {
constructor() {
super();
const fontSizeCookie = systemClient.getCookie('settings_fontsize_pro');
this.fontSize = fontSizeCookie !== '' ? Number(fontSizeCookie) : 12;
}
public frontend: 'basic' | 'pro' = 'pro';
}
export default Settings;