diff --git a/app/src/main/java/ani/dantotsu/settings/FAQActivity.kt b/app/src/main/java/ani/dantotsu/settings/FAQActivity.kt index 0f8efc34..76c74050 100644 --- a/app/src/main/java/ani/dantotsu/settings/FAQActivity.kt +++ b/app/src/main/java/ani/dantotsu/settings/FAQActivity.kt @@ -18,83 +18,83 @@ class FAQActivity : AppCompatActivity() { Triple( R.drawable.ic_round_help_24, - currContext()!!.getString(R.string.question_1), - currContext()!!.getString(R.string.answer_1) + currContext()?.getString(R.string.question_1)?:"", + currContext()?.getString(R.string.answer_1)?:"" ), Triple( R.drawable.ic_round_auto_awesome_24, - currContext()!!.getString(R.string.question_2), - currContext()!!.getString(R.string.answer_2) + currContext()?.getString(R.string.question_2)?:"", + currContext()?.getString(R.string.answer_2)?:"" ), Triple( R.drawable.ic_round_auto_awesome_24, - currContext()!!.getString(R.string.question_17), - currContext()!!.getString(R.string.answer_17) + currContext()?.getString(R.string.question_17)?:"", + currContext()?.getString(R.string.answer_17)?:"" ), Triple( R.drawable.ic_round_download_24, - currContext()!!.getString(R.string.question_3), - currContext()!!.getString(R.string.answer_3) + currContext()?.getString(R.string.question_3)?:"", + currContext()?.getString(R.string.answer_3)?:"" ), Triple( R.drawable.ic_round_help_24, - currContext()!!.getString(R.string.question_16), - currContext()!!.getString(R.string.answer_16) + currContext()?.getString(R.string.question_16)?:"", + currContext()?.getString(R.string.answer_16)?:"" ), Triple( R.drawable.ic_round_dns_24, - currContext()!!.getString(R.string.question_4), - currContext()!!.getString(R.string.answer_4) + currContext()?.getString(R.string.question_4)?:"", + currContext()?.getString(R.string.answer_4)?:"" ), Triple( R.drawable.ic_baseline_screen_lock_portrait_24, - currContext()!!.getString(R.string.question_5), - currContext()!!.getString(R.string.answer_5) + currContext()?.getString(R.string.question_5)?:"", + currContext()?.getString(R.string.answer_5)?:"" ), Triple( R.drawable.ic_anilist, - currContext()!!.getString(R.string.question_6), - currContext()!!.getString(R.string.answer_6) + currContext()?.getString(R.string.question_6)?:"", + currContext()?.getString(R.string.answer_6)?:"" ), Triple( R.drawable.ic_round_movie_filter_24, - currContext()!!.getString(R.string.question_7), - currContext()!!.getString(R.string.answer_7) + currContext()?.getString(R.string.question_7)?:"", + currContext()?.getString(R.string.answer_7)?:"" ), Triple( R.drawable.ic_round_lock_open_24, - currContext()!!.getString(R.string.question_9), - currContext()!!.getString(R.string.answer_9) + currContext()?.getString(R.string.question_9)?:"", + currContext()?.getString(R.string.answer_9)?:"" ), Triple( R.drawable.ic_round_smart_button_24, - currContext()!!.getString(R.string.question_10), - currContext()!!.getString(R.string.answer_10) + currContext()?.getString(R.string.question_10)?:"", + currContext()?.getString(R.string.answer_10)?:"" ), Triple( R.drawable.ic_round_smart_button_24, - currContext()!!.getString(R.string.question_11), - currContext()!!.getString(R.string.answer_11) + currContext()?.getString(R.string.question_11)?:"", + currContext()?.getString(R.string.answer_11)?:"" ), Triple( R.drawable.ic_round_info_24, - currContext()!!.getString(R.string.question_12), - currContext()!!.getString(R.string.answer_12) + currContext()?.getString(R.string.question_12)?:"", + currContext()?.getString(R.string.answer_12)?:"" ), Triple( R.drawable.ic_round_help_24, - currContext()!!.getString(R.string.question_13), - currContext()!!.getString(R.string.answer_13) + currContext()?.getString(R.string.question_13)?:"", + currContext()?.getString(R.string.answer_13)?:"" ), Triple( R.drawable.ic_round_art_track_24, - currContext()!!.getString(R.string.question_14), - currContext()!!.getString(R.string.answer_14) + currContext()?.getString(R.string.question_14)?:"", + currContext()?.getString(R.string.answer_14)?:"" ), Triple( R.drawable.ic_round_video_settings_24, - currContext()!!.getString(R.string.question_15), - currContext()!!.getString(R.string.answer_15) + currContext()?.getString(R.string.question_15)?:"", + currContext()?.getString(R.string.answer_15)?:"" ) ) }