mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
refactor: comment out unused oauth1 ui
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user