Skip to content

Commit

Permalink
Merge pull request KRTirtho#123 from Voklen/master
Browse files Browse the repository at this point in the history
Fix login feilds autocorrecting Client ID and Secret
  • Loading branch information
KRTirtho authored Jun 26, 2022
2 parents a717ef2 + 744d167 commit 4321668
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/components/Playlist/PlaylistCreateDialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Search/Search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 3 additions & 1 deletion lib/components/Settings/Login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4321668

Please sign in to comment.