app/src/main/kotlin/space/subread/overlay/MoreApps.kt (2154 bytes)
1 package space.subread.overlay 2 3 import androidx.annotation.StringRes 4 5 /** One link of the "More apps" section: a name, one line about it, and the page that a tap opens. */ 6 class MoreApp(@param:StringRes val name: Int, @param:StringRes val line: Int, val url: String) 7 8 /** 9 * The other sites and apps of the same author, in the order of the catalog: the sites, 10 * then the Android apps, then the list of all projects. SubRead Overlay is not in it. 11 */ 12 val MORE_APPS = listOf( 13 MoreApp(R.string.more_subread, R.string.more_subread_line, "https://subread.space/"), 14 MoreApp(R.string.more_book_simulator, R.string.more_book_simulator_line, "https://booksimulator.com/"), 15 MoreApp(R.string.more_honjimaku, R.string.more_honjimaku_line, "https://honjimaku.com/"), 16 MoreApp(R.string.more_sbm_sync, R.string.more_sbm_sync_line, "https://sbmsync.com/"), 17 MoreApp(R.string.more_subread_android, R.string.more_subread_android_line, 18 "https://github.com/equwal/subread-android/releases/latest"), 19 MoreApp(R.string.more_subread_dictionary, R.string.more_subread_dictionary_line, 20 "https://github.com/equwal/subread-dictionary/releases/latest"), 21 MoreApp(R.string.more_subread_anki, R.string.more_subread_anki_line, "https://github.com/equwal/subread-anki"), 22 MoreApp(R.string.more_subrep, R.string.more_subrep_line, "https://github.com/equwal/subrep-android/releases/latest"), 23 MoreApp(R.string.more_sbm_android, R.string.more_sbm_android_line, 24 "https://github.com/equwal/sbm-android/releases/latest"), 25 MoreApp(R.string.more_rebind, R.string.more_rebind_line, "https://github.com/equwal/rebind/releases"), 26 MoreApp(R.string.more_ink_recents, R.string.more_ink_recents_line, 27 "https://github.com/equwal/ink-recents/releases/latest"), 28 MoreApp(R.string.more_ink_dim, R.string.more_ink_dim_line, "https://github.com/equwal/ink-dim/releases/latest"), 29 MoreApp(R.string.more_ink_update, R.string.more_ink_update_line, 30 "https://github.com/equwal/ink-update/releases/latest"), 31 MoreApp(R.string.more_all_projects, R.string.more_all_projects_line, "https://recentlywritten.com/projects.html"), 32 )