mirror of
https://codeberg.org/gitnex/GitNex
synced 2025-01-25 00:36:58 +01:00
Enhance diff view to not render all files (#274)
Merge branch 'master' into 269-dont-render-files exlucde certain bin files Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/274
This commit is contained in:
parent
b0d5161c22
commit
0467686cc3
@ -142,7 +142,11 @@ public class FileDiffActivity extends BaseActivity {
|
||||
|
||||
String fileExtension = FilenameUtils.getExtension(getFileNameFinal);
|
||||
|
||||
fileContentsArray.add(new FileDiffView(getFileNameFinal, appUtil.imageExtension(fileExtension),"", binaryFileFinal));
|
||||
if(appUtil.imageExtension(FilenameUtils.getExtension(getFileNameFinal))) {
|
||||
|
||||
fileContentsArray.add(new FileDiffView(getFileNameFinal, appUtil.imageExtension(fileExtension), "", binaryFileFinal));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user