@@ -31,7 +31,7 @@ class _LoginScreenState extends State<LoginScreen> {
31
31
TextEditingController usernameController = new TextEditingController ();
32
32
TextEditingController passwordController = new TextEditingController ();
33
33
TextEditingController urlController =
34
- new TextEditingController (text: 'http ://localhost:3000 ' );
34
+ new TextEditingController (text: 'https ://yourserver.xirvik.com ' );
35
35
final _formKey = GlobalKey <FormState >();
36
36
late int themeIndex;
37
37
@@ -100,7 +100,7 @@ class _LoginScreenState extends State<LoginScreen> {
100
100
labelText: l10n.login_screen_url,
101
101
prefixIcon: Icons .link,
102
102
themeIndex: themeIndex,
103
- trailingIconButton : Align (
103
+ trailingIconButton1 : Align (
104
104
alignment: Alignment .centerRight,
105
105
child: IconButton (
106
106
onPressed: () {
@@ -120,6 +120,23 @@ class _LoginScreenState extends State<LoginScreen> {
120
120
),
121
121
),
122
122
),
123
+ trailingIconButton2: Align (
124
+ alignment: Alignment .centerRight,
125
+ child: Tooltip (
126
+ triggerMode: TooltipTriggerMode .tap,
127
+ message:
128
+ "URL for your Flood instance (local, seedbox...)." ,
129
+ showDuration: Duration (seconds: 3 ),
130
+ child: Icon (
131
+ Icons .info_outline,
132
+ color: ThemeBloc .theme (themeIndex)
133
+ .textTheme
134
+ .bodyLarge!
135
+ .color! ,
136
+ size: 20 ,
137
+ ),
138
+ ),
139
+ ),
123
140
),
124
141
SizedBox (
125
142
height: hp * 0.01 ,
@@ -141,7 +158,7 @@ class _LoginScreenState extends State<LoginScreen> {
141
158
prefixIcon: Icons .lock_outline,
142
159
themeIndex: themeIndex,
143
160
obscureText: showPass,
144
- trailingIconButton : Align (
161
+ trailingIconButton1 : Align (
145
162
alignment: Alignment .centerRight,
146
163
child: IconButton (
147
164
onPressed: () {
0 commit comments