@@ -54,7 +54,6 @@ class _ShareImageView extends State<ShareImageView> {
5454 bool sendingImage = false ;
5555 bool hideArchivedUsers = true ;
5656 final TextEditingController searchUserName = TextEditingController ();
57- bool showRealTwonlyWarning = false ;
5857 late StreamSubscription <List <Contact >> contactSub;
5958 String lastQuery = '' ;
6059
@@ -150,15 +149,6 @@ class _ShareImageView extends State<ShareImageView> {
150149 }
151150
152151 void updateStatus (int userId, bool checked) {
153- if (widget.isRealTwonly) {
154- final user = contacts.firstWhere ((x) => x.userId == userId);
155- if (! user.verified) {
156- showRealTwonlyWarning = true ;
157- setState (() {});
158- return ;
159- }
160- }
161- showRealTwonlyWarning = false ;
162152 widget.updateStatus (userId, checked);
163153 setState (() {});
164154 }
@@ -175,13 +165,6 @@ class _ShareImageView extends State<ShareImageView> {
175165 const EdgeInsets .only (bottom: 40 , left: 10 , top: 20 , right: 10 ),
176166 child: Column (
177167 children: [
178- if (showRealTwonlyWarning)
179- Text (
180- context.lang.shareImageAllTwonlyWarning,
181- style: const TextStyle (color: Colors .orange, fontSize: 13 ),
182- textAlign: TextAlign .center,
183- ),
184- if (showRealTwonlyWarning) const SizedBox (height: 10 ),
185168 Padding (
186169 padding: const EdgeInsets .symmetric (horizontal: 10 ),
187170 child: TextField (
0 commit comments