You need to sign in or sign up before continuing.
Commit 4ae79c54 authored by Dio Maulana's avatar Dio Maulana

jika tidak mendapatkan nama wifi maka nama defaultnya no detected

parent c31dae82
......@@ -10,8 +10,8 @@ class AboutSetting extends StatefulWidget {
}
class _AboutSettingState extends State<AboutSetting> {
final String ipAddress = prefs.getString('ipAddress') ?? 'Not Found';
final String wifiName = prefs.getString('wifiName') ?? 'Not Found';
final String ipAddress = prefs.getString('ipAddress') ?? 'No Detected';
final String? wifiName = prefs.getString('wifiName');
@override
void initState() {
......@@ -33,7 +33,7 @@ class _AboutSettingState extends State<AboutSetting> {
listAbout(context, 'IP Address', ipAddress),
listAbout(context, 'App Version', version),
listAbout(context, 'Build Number', buildNumber),
listAbout(context, 'Wifi SSID', wifiName),
listAbout(context, 'Wifi SSID', wifiName!),
],
),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment