[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed strange colors on login / register input (#38)

authored by

C3B and committed by
GitHub
1cc2bcb9 45ae3f98

+22 -8
+15 -1
lib/screens/auth_prompt_screen.dart
··· 108 108 onPressed: () { 109 109 Navigator.of(context).push(MaterialPageRoute(builder: (context) => const RegisterScreen())); 110 110 }, 111 - child: const Text('Register', style: TextStyle(color: AppColors.white, fontSize: 20, fontWeight: FontWeight.normal)), 111 + child: Row( 112 + mainAxisSize: MainAxisSize.min, 113 + mainAxisAlignment: MainAxisAlignment.center, 114 + children: [ 115 + const Text( 116 + 'Create an ', 117 + style: TextStyle(fontWeight: FontWeight.normal, fontSize: 20, color: AppColors.white), 118 + ), 119 + SvgPicture.asset( 120 + 'assets/images/ataccount.svg', 121 + height: 22, 122 + width: 100, 123 + ), 124 + ], 125 + ), 112 126 ), 113 127 if (onClose != null) ...[ 114 128 const SizedBox(height: 24),
+3 -3
lib/screens/login_screen.dart
··· 161 161 border: OutlineInputBorder(borderRadius: BorderRadius.circular(16), borderSide: BorderSide.none), 162 162 contentPadding: const EdgeInsets.all(16), 163 163 ), 164 - style: TextStyle(color: AppTheme.getTextColor(context)), 164 + style: const TextStyle(color: Colors.black), 165 165 textInputAction: TextInputAction.next, 166 166 keyboardType: TextInputType.emailAddress, 167 167 autofillHints: const [AutofillHints.username, AutofillHints.email], ··· 192 192 border: OutlineInputBorder(borderRadius: BorderRadius.circular(16), borderSide: BorderSide.none), 193 193 contentPadding: const EdgeInsets.all(16), 194 194 ), 195 - style: TextStyle(color: AppTheme.getTextColor(context)), 195 + style: const TextStyle(color: Colors.black), 196 196 obscureText: _obscurePassword, 197 197 textInputAction: TextInputAction.done, 198 198 keyboardType: TextInputType.visiblePassword, ··· 221 221 border: OutlineInputBorder(borderRadius: BorderRadius.circular(16), borderSide: BorderSide.none), 222 222 contentPadding: const EdgeInsets.all(16), 223 223 ), 224 - style: TextStyle(color: AppTheme.getTextColor(context)), 224 + style: const TextStyle(color: Colors.black), 225 225 textInputAction: TextInputAction.done, 226 226 keyboardType: TextInputType.text, 227 227 textCapitalization: TextCapitalization.characters,
+4 -4
lib/screens/register_screen.dart
··· 179 179 prefixIcon: const Icon(FluentIcons.mail_24_regular, color: AppColors.primary), 180 180 contentPadding: const EdgeInsets.all(16), 181 181 ), 182 - style: TextStyle(color: AppTheme.getTextColor(context)), 182 + style: const TextStyle(color: Colors.black), 183 183 onChanged: (_) => setState(() {}), 184 184 ), 185 185 ··· 209 209 fillColor: Colors.transparent, 210 210 contentPadding: const EdgeInsets.all(16), 211 211 ), 212 - style: TextStyle(color: AppTheme.getTextColor(context)), 212 + style: const TextStyle(color: Colors.black), 213 213 onChanged: (_) => setState(() {}), 214 214 ), 215 215 ), ··· 248 248 ), 249 249 contentPadding: const EdgeInsets.all(16), 250 250 ), 251 - style: TextStyle(color: AppTheme.getTextColor(context)), 251 + style: const TextStyle(color: Colors.black), 252 252 onChanged: (_) => setState(() {}), 253 253 ), 254 254 ··· 267 267 // prefixIcon: const Icon(FluentIcons.tag_24_regular, color: AppColors.primary), 268 268 // contentPadding: const EdgeInsets.all(16), 269 269 // ), 270 - // style: TextStyle(color: AppTheme.getTextColor(context)), 270 + // style: const TextStyle(color: Colors.black), 271 271 // ), 272 272 273 273 if (_errorMessage != null) ...[