mirror of https://github.com/NekoX-Dev/NekoX.git
Fix wrong path in attach alert
This commit is contained in:
parent
e8841eb156
commit
da93f4a809
|
@ -64,6 +64,8 @@ import androidx.recyclerview.widget.LinearLayoutManager;
|
|||
import androidx.recyclerview.widget.LinearSmoothScroller;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import tw.nekomimi.nekogram.utils.EnvUtil;
|
||||
|
||||
public class ChatAttachAlertDocumentLayout extends ChatAttachAlert.AttachAlertLayout {
|
||||
|
||||
public interface DocumentSelectActivityDelegate {
|
||||
|
@ -973,7 +975,7 @@ public class ChatAttachAlertDocumentLayout extends ChatAttachAlert.AttachAlertLa
|
|||
|
||||
ListItem fs;
|
||||
try {
|
||||
File telegramPath = ApplicationLoader.applicationContext.getExternalFilesDir(null);
|
||||
File telegramPath = EnvUtil.getTelegramPath();
|
||||
if (telegramPath.exists()) {
|
||||
fs = new ListItem();
|
||||
fs.title = "Telegram";
|
||||
|
|
Loading…
Reference in New Issue