-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MP4s not being used, Files pager bugs, deleting in file details, …
…and screenshot previews
- Loading branch information
Showing
21 changed files
with
320 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app/src/main/java/com/stevenschoen/putionew/UniqueLoaderIds.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.stevenschoen.putionew | ||
|
||
import com.stevenschoen.putionew.files.FileScreenshotLoader | ||
import com.stevenschoen.putionew.files.FolderLoader | ||
import com.stevenschoen.putionew.files.Mp4StatusLoader | ||
import com.stevenschoen.putionew.files.SearchLoader | ||
|
||
fun getUniqueLoaderId(loaderClass: Class<out PutioBaseLoader>): Int { | ||
return when (loaderClass) { | ||
FolderLoader::class.java -> 1 | ||
SearchLoader::class.java -> 2 | ||
Mp4StatusLoader::class.java -> 3 | ||
FileScreenshotLoader::class.java -> 4 | ||
else -> throw RuntimeException() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/main/java/com/stevenschoen/putionew/files/DestinationFolderDialogFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/src/main/java/com/stevenschoen/putionew/files/DestinationFolderFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.