mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-04 22:40:16 +02:00
Stop accidentally sharing GitHub/GitLab PATs with Codeberg, Mullvad (#2423)
This commit is contained in:
@@ -13,10 +13,11 @@ import 'package:obtainium/providers/source_provider.dart';
|
||||
import 'package:url_launcher/url_launcher_string.dart';
|
||||
|
||||
class GitHub extends AppSource {
|
||||
GitHub() {
|
||||
GitHub({hostChanged = false}) {
|
||||
hosts = ['github.com'];
|
||||
appIdInferIsOptional = true;
|
||||
showReleaseDateAsVersionToggle = true;
|
||||
this.hostChanged = hostChanged;
|
||||
|
||||
sourceConfigSettingFormItems = [
|
||||
GeneratedFormTextField(
|
||||
|
Reference in New Issue
Block a user