mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-09 07:41:35 +00:00
0e115e06b1
refactor webpacks
16 lines
457 B
TypeScript
16 lines
457 B
TypeScript
import { systemClient } from '../services/System';
|
|
import BaseSettings from './Settings.model';
|
|
|
|
class SettingsSelfhosted extends BaseSettings {
|
|
constructor() {
|
|
super();
|
|
const fontSizeCookie = systemClient.getItem('settings_fontsize_basic');
|
|
this.fontSize = fontSizeCookie !== '' ? Number(fontSizeCookie) : 14;
|
|
}
|
|
|
|
public frontend: 'basic' | 'pro' = 'basic';
|
|
public selfhostedClient: boolean = true;
|
|
}
|
|
|
|
export default SettingsSelfhosted;
|