mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
Set login fields to visiblePassword
This commit is contained in:
parent
580d7eea60
commit
744d1675e5
@ -73,11 +73,11 @@ class PlaylistCreateDialog extends HookConsumerWidget {
|
|||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
TextField(
|
TextField(
|
||||||
controller: description,
|
controller: description,
|
||||||
keyboardType: TextInputType.multiline,
|
|
||||||
maxLines: 5,
|
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
hintText: "Description...",
|
hintText: "Description...",
|
||||||
),
|
),
|
||||||
|
keyboardType: TextInputType.multiline,
|
||||||
|
maxLines: 5,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
CheckboxListTile(
|
CheckboxListTile(
|
||||||
|
@ -48,8 +48,8 @@ class Search extends HookConsumerWidget {
|
|||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: TextField(
|
child: TextField(
|
||||||
decoration: const InputDecoration(hintText: "Search..."),
|
|
||||||
controller: controller,
|
controller: controller,
|
||||||
|
decoration: const InputDecoration(hintText: "Search..."),
|
||||||
onSubmitted: (value) {
|
onSubmitted: (value) {
|
||||||
ref.read(searchTermStateProvider.notifier).state =
|
ref.read(searchTermStateProvider.notifier).state =
|
||||||
controller.value.text;
|
controller.value.text;
|
||||||
|
@ -77,14 +77,16 @@ class Login extends HookConsumerWidget {
|
|||||||
hintText: "Spotify Client ID",
|
hintText: "Spotify Client ID",
|
||||||
label: Text("ClientID"),
|
label: Text("ClientID"),
|
||||||
),
|
),
|
||||||
|
keyboardType: TextInputType.visiblePassword,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
TextField(
|
TextField(
|
||||||
|
controller: clientSecretController,
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
hintText: "Spotify Client Secret",
|
hintText: "Spotify Client Secret",
|
||||||
label: Text("Client Secret"),
|
label: Text("Client Secret"),
|
||||||
),
|
),
|
||||||
controller: clientSecretController,
|
keyboardType: TextInputType.visiblePassword,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user