mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-10-13 13:57:57 +00:00
Use androidx version of AlertDialog
Summary: Use androidx version of AlertDialog to get properly styled AlertDialog buttons Use PreferenceManager context to style Device Name AlertDialog |{F6551907}|{F6551908}| |Before|After| Test Plan: Apply patch and verify that AlertDialogs have properly styled buttons Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D18298
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
package org.kde.kdeconnect.UserInterface;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
@@ -55,6 +54,7 @@ import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
|
Reference in New Issue
Block a user