app/src/main/kotlin/space/subread/anki/MoreApps.kt (2189 bytes)
1 package space.subread.anki 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 Anki 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_overlay, R.string.more_subread_overlay_line, 20 "https://github.com/equwal/subread-overlay/releases/latest"), 21 MoreApp(R.string.more_subread_dictionary, R.string.more_subread_dictionary_line, 22 "https://github.com/equwal/subread-dictionary/releases/latest"), 23 MoreApp(R.string.more_subrep, R.string.more_subrep_line, 24 "https://github.com/equwal/subrep-android/releases/latest"), 25 MoreApp(R.string.more_sbm_android, R.string.more_sbm_android_line, 26 "https://github.com/equwal/sbm-android/releases/latest"), 27 MoreApp(R.string.more_rebind, R.string.more_rebind_line, "https://github.com/equwal/rebind/releases"), 28 MoreApp(R.string.more_ink_recents, R.string.more_ink_recents_line, 29 "https://github.com/equwal/ink-recents/releases/latest"), 30 MoreApp(R.string.more_ink_dim, R.string.more_ink_dim_line, "https://github.com/equwal/ink-dim/releases/latest"), 31 MoreApp(R.string.more_ink_update, R.string.more_ink_update_line, 32 "https://github.com/equwal/ink-update/releases/latest"), 33 MoreApp(R.string.more_all_projects, R.string.more_all_projects_line, "https://recentlywritten.com/projects.html"), 34 )