mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-08 07:11:35 +00:00
0e115e06b1
refactor webpacks
15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import { systemClient } from '../services/System';
|
|
import BaseSettings from './Settings.model';
|
|
|
|
class SettingsPro extends BaseSettings {
|
|
constructor() {
|
|
super();
|
|
const fontSizeCookie = systemClient.getItem('settings_fontsize_pro');
|
|
this.fontSize = fontSizeCookie !== '' ? Number(fontSizeCookie) : 12;
|
|
}
|
|
|
|
public frontend: 'basic' | 'pro' = 'pro';
|
|
}
|
|
|
|
export default SettingsPro;
|