mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
ignore saved video positions at export/import
This commit is contained in:
parent
bb20903dcd
commit
cde70c40f6
1 changed files with 0 additions and 7 deletions
|
@ -615,9 +615,6 @@ class SettingsActivity : SimpleActivity() {
|
|||
put(FILE_LOADING_PRIORITY, config.fileLoadingPriority)
|
||||
put(AUTOPLAY_VIDEOS, config.autoplayVideos)
|
||||
put(REMEMBER_LAST_VIDEO_POSITION, config.rememberLastVideoPosition)
|
||||
config.getAllLastVideoPositions().forEach {
|
||||
put(it.key, it.value.toString())
|
||||
}
|
||||
put(LOOP_VIDEOS, config.loopVideos)
|
||||
put(OPEN_VIDEOS_ON_SEPARATE_SCREEN, config.openVideosOnSeparateScreen)
|
||||
put(ALLOW_VIDEO_GESTURES, config.allowVideoGestures)
|
||||
|
@ -800,10 +797,6 @@ class SettingsActivity : SimpleActivity() {
|
|||
LAST_CONFLICT_RESOLUTION -> config.lastConflictResolution = value.toInt()
|
||||
LAST_CONFLICT_APPLY_TO_ALL -> config.lastConflictApplyToAll = value.toBoolean()
|
||||
}
|
||||
|
||||
if (key.startsWith(LAST_VIDEO_POSITION_PREFIX)) {
|
||||
config.saveLastVideoPosition(key, value as Int)
|
||||
}
|
||||
}
|
||||
|
||||
toast(if (configValues.size > 0) R.string.settings_imported_successfully else R.string.no_entries_for_importing)
|
||||
|
|
Loading…
Reference in a new issue