Commit e1ab3a94 authored by Mygod's avatar Mygod

Add missing error prompt

parent d3ed3ece
......@@ -294,6 +294,7 @@ class MainPreferenceFragment : LeanbackPreferenceFragment(), ShadowsocksConnecti
}
} catch (e: Exception) {
printLog(e)
Toast.makeText(activity, e.localizedMessage, Toast.LENGTH_SHORT).show()
}
populateProfiles()
}
......
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