mirror of https://github.com/NekoX-Dev/NekoX.git
Minor fixes
This commit is contained in:
parent
c7f786a112
commit
bbc106c2fe
|
@ -2640,6 +2640,7 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
|
|||
}
|
||||
actionBarLayout.presentFragment(fragment, removeLast, false, true, false);
|
||||
} else {
|
||||
AlertUtil.showToast(error);
|
||||
if (documentsUrisArray == null) {
|
||||
documentsUrisArray = new ArrayList<>();
|
||||
}
|
||||
|
|
|
@ -455,8 +455,8 @@ object ProxyUtil {
|
|||
bitmap.setPixels(pixels, 0, size, 0, 0, size, size)
|
||||
return bitmap
|
||||
} catch (e: WriterException) {
|
||||
e.printStackTrace()
|
||||
return null
|
||||
FileLog.e(e);
|
||||
return Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue