loris/lib/global.dart

31 lines
842 B
Dart

import 'package:flutter/material.dart';
import 'package:loris/business_logic/settings.dart';
const String name = "loris";
const String version = "v0.1 'is this thing on'";
const String useragent = "$name/$version";
const String website = "https://git.kittycat.homes/zoe/loris";
const Map<String, String> defaultHeaders = {
"User-Agent": useragent,
"accept": "application/json",
"Content-Type": "application/json"
};
const List<String> bad = [
"gab.com",
"spinster.xyz",
"truthsocial.com",
"poa.st",
"gleasonator.com",
"shitposter.club",
"freespeechextremist.com"
];
const List<Locale> availableLocales = [Locale("en", "US"), Locale("de")];
Settings? settings;
const String legalese =
"loris is licensed under the GNU Affero General Public License v3. to find out more visist www.gnu.org/licenses/agpl-3.0.html";