refactor: comment out unused oauth1 ui

This commit is contained in:
Udhay-Adithya
2025-07-24 14:55:25 +05:30
parent 98417be651
commit 027eada4f4

View File

@@ -63,35 +63,35 @@ class _OAuth1FieldsState extends State<OAuth1Fields> {
return Column( return Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text( // Text(
"Add auth data to", // "Add auth data to",
style: TextStyle( // style: TextStyle(
fontWeight: FontWeight.normal, // fontWeight: FontWeight.normal,
fontSize: 14, // fontSize: 14,
), // ),
), // ),
SizedBox( // SizedBox(
height: 4, // height: 4,
), // ),
ADPopupMenu<String>( // ADPopupMenu<String>(
value: _addAuthDataTo, // value: _addAuthDataTo,
values: const [ // values: const [
('Request URL / Request Body', 'url'), // ('Request URL / Request Body', 'url'),
('Request Header', 'header'), // ('Request Header', 'header'),
], // ],
tooltip: "Select where to add API key", // tooltip: "Select where to add API key",
isOutlined: true, // isOutlined: true,
onChanged: (String? newLocation) { // onChanged: (String? newLocation) {
if (newLocation != null) { // if (newLocation != null) {
setState(() { // setState(() {
_addAuthDataTo = newLocation; // _addAuthDataTo = newLocation;
}); // });
_updateOAuth1(); // _updateOAuth1();
} // }
}, // },
), // ),
const SizedBox(height: 16), // const SizedBox(height: 16),
AuthTextField( AuthTextField(
readOnly: widget.readOnly, readOnly: widget.readOnly,
controller: _consumerKeyController, controller: _consumerKeyController,