mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
Merge pull request #123 from Voklen/master
Fix login feilds autocorrecting Client ID and Secret
This commit is contained in:
commit
4321668806
@ -73,11 +73,11 @@ class PlaylistCreateDialog extends HookConsumerWidget {
|
||||
const SizedBox(height: 10),
|
||||
TextField(
|
||||
controller: description,
|
||||
keyboardType: TextInputType.multiline,
|
||||
maxLines: 5,
|
||||
decoration: const InputDecoration(
|
||||
hintText: "Description...",
|
||||
),
|
||||
keyboardType: TextInputType.multiline,
|
||||
maxLines: 5,
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
CheckboxListTile(
|
||||
|
@ -48,8 +48,8 @@ class Search extends HookConsumerWidget {
|
||||
children: [
|
||||
Expanded(
|
||||
child: TextField(
|
||||
decoration: const InputDecoration(hintText: "Search..."),
|
||||
controller: controller,
|
||||
decoration: const InputDecoration(hintText: "Search..."),
|
||||
onSubmitted: (value) {
|
||||
ref.read(searchTermStateProvider.notifier).state =
|
||||
controller.value.text;
|
||||
|
@ -77,14 +77,16 @@ class Login extends HookConsumerWidget {
|
||||
hintText: "Spotify Client ID",
|
||||
label: Text("ClientID"),
|
||||
),
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
TextField(
|
||||
controller: clientSecretController,
|
||||
decoration: const InputDecoration(
|
||||
hintText: "Spotify Client Secret",
|
||||
label: Text("Client Secret"),
|
||||
),
|
||||
controller: clientSecretController,
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
ElevatedButton(
|
||||
|
Loading…
Reference in New Issue
Block a user