mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-10 08:11:34 +00:00
052865c53b
Add scripts for selfhosted client
16 lines
437 B
TypeScript
16 lines
437 B
TypeScript
import { systemClient } from '../services/System';
|
|
import BaseSettings from './Settings.model';
|
|
|
|
class Settings 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 Settings;
|