Stop accidentally sharing GitHub/GitLab PATs with Codeberg, Mullvad (#2423)

This commit is contained in:
Imran Remtulla
2025-07-25 09:37:43 -04:00
parent 48a8ebabbb
commit 4680401808
5 changed files with 13 additions and 7 deletions

View File

@@ -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(