2022-07-12 20:57:56 +05:30
|
|
|
package com.github.libretube
|
|
|
|
|
2022-07-16 01:07:44 +05:30
|
|
|
/**
|
|
|
|
* Global variables can be stored here
|
|
|
|
*/
|
2022-07-12 20:57:56 +05:30
|
|
|
object Globals {
|
2022-07-16 01:07:44 +05:30
|
|
|
// for the player fragment
|
2022-07-18 22:59:56 +05:30
|
|
|
var IS_FULL_SCREEN = false
|
|
|
|
var MINI_PLAYER_VISIBLE = false
|
2022-07-16 01:07:44 +05:30
|
|
|
|
|
|
|
// for the data saver mode
|
2022-07-18 22:59:56 +05:30
|
|
|
var DATA_SAVER_MODE_ENABLED = false
|
|
|
|
|
|
|
|
// for downloads
|
|
|
|
var IS_DOWNLOAD_RUNNING = false
|
2022-08-06 22:27:07 +05:30
|
|
|
|
|
|
|
// for playlists
|
|
|
|
var SELECTED_PLAYLIST_ID: String? = null
|
2022-08-10 19:19:31 +05:30
|
|
|
|
|
|
|
// history of played videos in the current lifecycle
|
|
|
|
val videoIds = mutableListOf<String>()
|
2022-07-12 20:57:56 +05:30
|
|
|
}
|