11import 'package:flutter/material.dart' ;
22import 'package:shared_preferences/shared_preferences.dart' ;
33import 'package:vpn_client/pages/servers/servers_list_item.dart' ;
4- <<<<<< < HEAD
54import 'package:vpn_client/l10n/app_localizations.dart' ;
6- ====== =
7- import 'package:vpn_client/localization_service.dart' ;
8- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
95import 'dart:convert' ;
106import 'package:vpn_client/core/constants/storage_keys.dart' ;
117
@@ -90,42 +86,25 @@ class ServersListState extends State<ServersList> {
9086 List <Map <String , dynamic >> serversList = [
9187 {
9288 'icon' : 'assets/images/flags/auto.svg' ,
93- <<<<<< < HEAD
9489 'text' : localizations.auto_select,
9590 'ping' : localizations.fastest,
96- ====== =
97- 'text' : LocalizationService .to ('auto_select' ),
98- 'ping' : LocalizationService .to ('fastest' ),
99- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
10091 'isActive' : true ,
10192 },
10293 {
10394 'icon' : 'assets/images/flags/Kazahstan.svg' ,
104- <<<<<< < HEAD
10595 'text' : localizations.kazakhstan,
106- ====== =
107- 'text' : LocalizationService .to ('kazakhstan' ),
108- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
10996 'ping' : '48' ,
11097 'isActive' : false ,
11198 },
11299 {
113100 'icon' : 'assets/images/flags/Turkey.svg' ,
114- <<<<<< < HEAD
115101 'text' : localizations.turkey,
116- ====== =
117- 'text' : LocalizationService .to ('turkey' ),
118- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
119102 'ping' : '142' ,
120103 'isActive' : false ,
121104 },
122105 {
123106 'icon' : 'assets/images/flags/Poland.svg' ,
124- <<<<<< < HEAD
125107 'text' : localizations.poland,
126- ====== =
127- 'text' : LocalizationService .to ('poland' ),
128- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
129108 'ping' : '298' ,
130109 'isActive' : false ,
131110 },
@@ -242,16 +221,11 @@ class ServersListState extends State<ServersList> {
242221 bottom: 5 ,
243222 ), // Adicionado espaçamento
244223 child: Text (
245- <<<<<< < HEAD
246224 AppLocalizations .of (context)! .selected_server,
247225 style: TextStyle (
248226 color: Theme .of (context).colorScheme.secondary,
249227 fontSize: 14 , // Consistência de tamanho
250228 ),
251- ====== =
252- LocalizationService .to ('selected_server' ),
253- style: TextStyle (color: Colors .grey),
254- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
255229 ),
256230 ),
257231 ...activeServers.map ((server) {
@@ -272,16 +246,11 @@ class ServersListState extends State<ServersList> {
272246 bottom: 5 ,
273247 ), // Adicionado espaçamento
274248 child: Text (
275- <<<<<< < HEAD
276249 AppLocalizations .of (context)! .all_servers,
277250 style: TextStyle (
278251 color: Theme .of (context).colorScheme.secondary,
279252 fontSize: 14 , // Consistência de tamanho
280253 ),
281- ====== =
282- LocalizationService .to ('all_servers' ),
283- style: TextStyle (color: Colors .grey),
284- >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
285254 ),
286255 ),
287256 ...inactiveServers.map ((server) {
0 commit comments