File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core-shared/src/main/java/com/codandotv/streamplayerapp/core_shared/extension Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,20 @@ fun getUriFromUrlImage(
2626 assert (url != null )
2727 connection = url!! .openConnection() as HttpURLConnection
2828 } catch (e: IOException ) {
29- showErrorMessage(context, " Erro de conexão " )
29+ showErrorMessage(context, " Erro ao buscar imagem " )
3030 }
3131 assert (connection != null )
3232 connection!! .doInput = true
3333 try {
3434 connection.connect()
3535 } catch (e: IOException ) {
36- showErrorMessage(context, " Erro de conexão " )
36+ showErrorMessage(context, " Erro ao buscar imagem " )
3737 }
3838 var input: InputStream ? = null
3939 try {
4040 input = connection.inputStream
4141 } catch (e: IOException ) {
42- showErrorMessage(context, " Erro de conexão " )
42+ showErrorMessage(context, " Erro ao buscar imagem " )
4343 }
4444 val imgBitmap = BitmapFactory .decodeStream(input)
4545 val rand = Random ()
You can’t perform that action at this time.
0 commit comments