loris/lib/global.dart

31 lines
810 B
Dart
Raw Normal View History

2022-08-15 13:08:37 +00:00
import 'package:flutter/material.dart';
2022-08-12 17:00:09 +00:00
import 'package:loris/business_logic/settings.dart';
2022-07-03 13:47:24 +00:00
2022-07-04 17:37:53 +00:00
const String name = "loris";
2022-07-04 20:39:25 +00:00
const String version = "v0.1 'is this thing on'";
2022-06-28 20:05:24 +00:00
const String useragent = "$name/$version";
const String website = "https://git.kittycat.homes/zoe/loris";
2022-08-06 10:13:00 +00:00
2022-06-28 20:05:24 +00:00
const Map<String, String> defaultHeaders = {
"User-Agent": useragent,
"accept": "application/json",
"Content-Type": "application/json"
};
2022-08-06 10:13:00 +00:00
2022-08-12 22:28:00 +00:00
const List<String> bad = [
"gab.com",
"spinster.xyz",
"truthsocial.com",
"poa.st",
"gleasonator.com",
"shitposter.club",
"freespeechextremist.com"
];
2022-08-29 21:38:14 +00:00
const List<Locale> availableLocales = [Locale("en", "US"), Locale("de")];
2022-08-12 17:00:09 +00:00
Settings? settings;
2022-08-29 21:30:26 +00:00
const String legalese =
2022-09-02 21:19:25 +00:00
"loris is licensed under the CNPLv7+ to find out more go to https://thufie.lain.haus/NPL.html";